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

1.80    ! djm         1: #      $OpenBSD: sshd_config,v 1.79 2008/05/08 12:21:16 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.80    ! djm        29: #ServerKeyBits 1024
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.79      djm        42: #MaxSessions 10
1.44      stevesk    43:
                     44: #RSAAuthentication yes
                     45: #PubkeyAuthentication yes
                     46: #AuthorizedKeysFile    .ssh/authorized_keys
1.40      markus     47:
1.47      deraadt    48: # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
1.44      stevesk    49: #RhostsRSAAuthentication no
1.36      markus     50: # similar for protocol version 2
1.44      stevesk    51: #HostbasedAuthentication no
                     52: # Change to yes if you don't trust ~/.ssh/known_hosts for
                     53: # RhostsRSAAuthentication and HostbasedAuthentication
                     54: #IgnoreUserKnownHosts no
1.63      markus     55: # Don't read the user's ~/.rhosts and ~/.shosts files
                     56: #IgnoreRhosts yes
1.6       deraadt    57:
                     58: # To disable tunneled clear text passwords, change to no here!
1.44      stevesk    59: #PasswordAuthentication yes
                     60: #PermitEmptyPasswords no
1.30      markus     61:
1.44      stevesk    62: # Change to no to disable s/key passwords
                     63: #ChallengeResponseAuthentication yes
1.6       deraadt    64:
1.44      stevesk    65: # Kerberos options
1.51      markus     66: #KerberosAuthentication no
1.1       deraadt    67: #KerberosOrLocalPasswd yes
1.44      stevesk    68: #KerberosTicketCleanup yes
1.67      jakob      69: #KerberosGetAFSToken no
1.64      markus     70:
                     71: # GSSAPI options
                     72: #GSSAPIAuthentication no
1.66      markus     73: #GSSAPICleanupCredentials yes
1.1       deraadt    74:
1.78      pyr        75: #AllowAgentForwarding yes
1.61      djm        76: #AllowTcpForwarding yes
                     77: #GatewayPorts no
1.44      stevesk    78: #X11Forwarding no
                     79: #X11DisplayOffset 10
1.45      stevesk    80: #X11UseLocalhost yes
1.44      stevesk    81: #PrintMotd yes
                     82: #PrintLastLog yes
1.68      millert    83: #TCPKeepAlive yes
1.6       deraadt    84: #UseLogin no
1.54      markus     85: #UsePrivilegeSeparation yes
1.57      markus     86: #PermitUserEnvironment no
1.72      markus     87: #Compression delayed
1.61      djm        88: #ClientAliveInterval 0
                     89: #ClientAliveCountMax 3
                     90: #UseDNS yes
                     91: #PidFile /var/run/sshd.pid
                     92: #MaxStartups 10
1.73      reyk       93: #PermitTunnel no
1.77      djm        94: #ChrootDirectory none
1.17      jakob      95:
1.44      stevesk    96: # no default banner path
1.76      djm        97: #Banner none
1.32      deraadt    98:
1.44      stevesk    99: # override default of no subsystems
1.32      deraadt   100: Subsystem      sftp    /usr/libexec/sftp-server
1.74      dtucker   101:
                    102: # Example of overriding settings on a per-user basis
                    103: #Match User anoncvs
                    104: #      X11Forwarding no
                    105: #      AllowTcpForwarding no
                    106: #      ForceCommand cvs server