[BACK]Return to sshd_config CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Annotation of src/usr.bin/ssh/sshd_config, Revision 1.78

1.78    ! pyr         1: #      $OpenBSD: sshd_config,v 1.77 2008/02/08 23:24:07 djm Exp $
1.27      niklas      2:
1.55      stevesk     3: # This is the sshd server system-wide configuration file.  See
                      4: # sshd_config(5) for more information.
1.1       deraadt     5:
1.48      deraadt     6: # The strategy used for options in the default sshd_config shipped with
1.44      stevesk     7: # OpenSSH is to specify options with their default value where
                      8: # possible, but leave them commented.  Uncommented options change a
                      9: # default value.
                     10:
                     11: #Port 22
1.70      djm        12: #AddressFamily any
1.15      markus     13: #ListenAddress 0.0.0.0
                     14: #ListenAddress ::
1.75      djm        15:
                     16: # Disable legacy (protocol version 1) support in the server for new
                     17: # installations. In future the default will change to require explicit
                     18: # activation of protocol 1
                     19: Protocol 2
1.40      markus     20:
                     21: # HostKey for protocol version 1
1.47      deraadt    22: #HostKey /etc/ssh/ssh_host_key
1.40      markus     23: # HostKeys for protocol version 2
1.47      deraadt    24: #HostKey /etc/ssh/ssh_host_rsa_key
                     25: #HostKey /etc/ssh/ssh_host_dsa_key
1.40      markus     26:
                     27: # Lifetime and size of ephemeral version 1 server key
1.61      djm        28: #KeyRegenerationInterval 1h
1.44      stevesk    29: #ServerKeyBits 768
1.13      markus     30:
                     31: # Logging
1.71      djm        32: # obsoletes QuietMode and FascistLogging
1.44      stevesk    33: #SyslogFacility AUTH
                     34: #LogLevel INFO
1.13      markus     35:
1.40      markus     36: # Authentication:
                     37:
1.61      djm        38: #LoginGraceTime 2m
1.44      stevesk    39: #PermitRootLogin yes
                     40: #StrictModes yes
1.69      dtucker    41: #MaxAuthTries 6
1.44      stevesk    42:
                     43: #RSAAuthentication yes
                     44: #PubkeyAuthentication yes
                     45: #AuthorizedKeysFile    .ssh/authorized_keys
1.40      markus     46:
1.47      deraadt    47: # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
1.44      stevesk    48: #RhostsRSAAuthentication no
1.36      markus     49: # similar for protocol version 2
1.44      stevesk    50: #HostbasedAuthentication no
                     51: # Change to yes if you don't trust ~/.ssh/known_hosts for
                     52: # RhostsRSAAuthentication and HostbasedAuthentication
                     53: #IgnoreUserKnownHosts no
1.63      markus     54: # Don't read the user's ~/.rhosts and ~/.shosts files
                     55: #IgnoreRhosts yes
1.6       deraadt    56:
                     57: # To disable tunneled clear text passwords, change to no here!
1.44      stevesk    58: #PasswordAuthentication yes
                     59: #PermitEmptyPasswords no
1.30      markus     60:
1.44      stevesk    61: # Change to no to disable s/key passwords
                     62: #ChallengeResponseAuthentication yes
1.6       deraadt    63:
1.44      stevesk    64: # Kerberos options
1.51      markus     65: #KerberosAuthentication no
1.1       deraadt    66: #KerberosOrLocalPasswd yes
1.44      stevesk    67: #KerberosTicketCleanup yes
1.67      jakob      68: #KerberosGetAFSToken no
1.64      markus     69:
                     70: # GSSAPI options
                     71: #GSSAPIAuthentication no
1.66      markus     72: #GSSAPICleanupCredentials yes
1.1       deraadt    73:
1.78    ! pyr        74: #AllowAgentForwarding yes
1.61      djm        75: #AllowTcpForwarding yes
                     76: #GatewayPorts no
1.44      stevesk    77: #X11Forwarding no
                     78: #X11DisplayOffset 10
1.45      stevesk    79: #X11UseLocalhost yes
1.44      stevesk    80: #PrintMotd yes
                     81: #PrintLastLog yes
1.68      millert    82: #TCPKeepAlive yes
1.6       deraadt    83: #UseLogin no
1.54      markus     84: #UsePrivilegeSeparation yes
1.57      markus     85: #PermitUserEnvironment no
1.72      markus     86: #Compression delayed
1.61      djm        87: #ClientAliveInterval 0
                     88: #ClientAliveCountMax 3
                     89: #UseDNS yes
                     90: #PidFile /var/run/sshd.pid
                     91: #MaxStartups 10
1.73      reyk       92: #PermitTunnel no
1.77      djm        93: #ChrootDirectory none
1.17      jakob      94:
1.44      stevesk    95: # no default banner path
1.76      djm        96: #Banner none
1.32      deraadt    97:
1.44      stevesk    98: # override default of no subsystems
1.32      deraadt    99: Subsystem      sftp    /usr/libexec/sftp-server
1.74      dtucker   100:
                    101: # Example of overriding settings on a per-user basis
                    102: #Match User anoncvs
                    103: #      X11Forwarding no
                    104: #      AllowTcpForwarding no
                    105: #      ForceCommand cvs server