[BACK]Return to sshd_config CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / crypto / dist / ssh

Annotation of src/crypto/dist/ssh/sshd_config, Revision 1.24

1.23      christos    1: #      $NetBSD$
1.24    ! christos    2: #      $OpenBSD: sshd_config,v 1.74 2006/07/19 13:07:10 dtucker Exp $
1.1       itojun      3:
1.15      itojun      4: # This is the sshd server system-wide configuration file.  See
                      5: # sshd_config(5) for more information.
1.1       itojun      6:
1.10      itojun      7: # The strategy used for options in the default sshd_config shipped with
                      8: # OpenSSH is to specify options with their default value where
                      9: # possible, but leave them commented.  Uncommented options change a
                     10: # default value.
                     11:
                     12: #Port 22
1.1       itojun     13: #Protocol 2,1
1.22      christos   14: #AddressFamily any
1.1       itojun     15: #ListenAddress 0.0.0.0
                     16: #ListenAddress ::
1.7       itojun     17:
                     18: # HostKey for protocol version 1
1.11      itojun     19: #HostKey /etc/ssh/ssh_host_key
1.7       itojun     20: # HostKeys for protocol version 2
1.11      itojun     21: #HostKey /etc/ssh/ssh_host_rsa_key
                     22: #HostKey /etc/ssh/ssh_host_dsa_key
1.7       itojun     23:
                     24: # Lifetime and size of ephemeral version 1 server key
1.20      christos   25: #KeyRegenerationInterval 1h
1.10      itojun     26: #ServerKeyBits 768
1.1       itojun     27:
                     28: # Logging
1.23      christos   29: # obsoletes QuietMode and FascistLogging
1.10      itojun     30: #SyslogFacility AUTH
                     31: #LogLevel INFO
1.1       itojun     32:
1.7       itojun     33: # Authentication:
                     34:
1.19      jonb       35: # Slow machines or long keys may require more processing time.
                     36: LoginGraceTime 600
1.10      itojun     37: #PermitRootLogin no
                     38: #StrictModes yes
1.20      christos   39: #MaxAuthTries 6
1.10      itojun     40:
                     41: #RSAAuthentication yes
                     42: #PubkeyAuthentication yes
                     43: #AuthorizedKeysFile    .ssh/authorized_keys
1.7       itojun     44:
1.11      itojun     45: # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
1.10      itojun     46: #RhostsRSAAuthentication no
1.5       itojun     47: # similar for protocol version 2
1.10      itojun     48: #HostbasedAuthentication no
                     49: # Change to yes if you don't trust ~/.ssh/known_hosts for
                     50: # RhostsRSAAuthentication and HostbasedAuthentication
                     51: #IgnoreUserKnownHosts no
1.20      christos   52: # Don't read the user's ~/.rhosts and ~/.shosts files
                     53: #IgnoreRhosts yes
1.1       itojun     54:
                     55: # To disable tunneled clear text passwords, change to no here!
1.10      itojun     56: #PasswordAuthentication yes
                     57: #PermitEmptyPasswords no
1.1       itojun     58:
1.10      itojun     59: # Change to no to disable s/key passwords
                     60: #ChallengeResponseAuthentication yes
1.1       itojun     61:
1.10      itojun     62: # Kerberos options
1.13      itojun     63: #KerberosAuthentication no
1.1       itojun     64: #KerberosOrLocalPasswd yes
1.10      itojun     65: #KerberosTicketCleanup yes
1.20      christos   66: #KerberosGetAFSToken no
1.1       itojun     67:
1.20      christos   68: # GSSAPI options
                     69: #GSSAPIAuthentication no
                     70: #GSSAPICleanupCredentials yes
1.1       itojun     71:
1.20      christos   72: #AllowTcpForwarding yes
                     73: #GatewayPorts no
1.10      itojun     74: #X11Forwarding no
                     75: #X11DisplayOffset 10
                     76: #X11UseLocalhost yes
                     77: #PrintMotd yes
                     78: #PrintLastLog yes
1.20      christos   79: #TCPKeepAlive yes
1.1       itojun     80: #UseLogin no
1.14      itojun     81: #UsePrivilegeSeparation yes
1.21      christos   82: UsePam yes
1.16      itojun     83: #PermitUserEnvironment no
1.23      christos   84: #Compression delayed
1.20      christos   85: #ClientAliveInterval 0
                     86: #ClientAliveCountMax 3
                     87: #UseDNS yes
                     88: #PidFile /var/run/sshd.pid
                     89: #MaxStartups 10
1.23      christos   90: #PermitTunnel no
1.1       itojun     91:
1.10      itojun     92: # no default banner path
                     93: #Banner /some/path
1.1       itojun     94:
1.10      itojun     95: # override default of no subsystems
1.1       itojun     96: Subsystem      sftp    /usr/libexec/sftp-server
1.24    ! christos   97:
        !            98: # Example of overriding settings on a per-user basis
        !            99: #Match User anoncvs
        !           100: #      X11Forwarding no
        !           101: #      AllowTcpForwarding no
        !           102: #      ForceCommand cvs server

CVSweb <webmaster@jp.NetBSD.org>