[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.81

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