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

1.65.2.2! brad        1: #      $OpenBSD: sshd_config,v 1.69 2004/05/23 23:59:53 dtucker 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.38      deraadt    12: #Protocol 2,1
1.15      markus     13: #ListenAddress 0.0.0.0
                     14: #ListenAddress ::
1.40      markus     15:
                     16: # HostKey for protocol version 1
1.47      deraadt    17: #HostKey /etc/ssh/ssh_host_key
1.40      markus     18: # HostKeys for protocol version 2
1.47      deraadt    19: #HostKey /etc/ssh/ssh_host_rsa_key
                     20: #HostKey /etc/ssh/ssh_host_dsa_key
1.40      markus     21:
                     22: # Lifetime and size of ephemeral version 1 server key
1.61      djm        23: #KeyRegenerationInterval 1h
1.44      stevesk    24: #ServerKeyBits 768
1.13      markus     25:
                     26: # Logging
                     27: #obsoletes QuietMode and FascistLogging
1.44      stevesk    28: #SyslogFacility AUTH
                     29: #LogLevel INFO
1.13      markus     30:
1.40      markus     31: # Authentication:
                     32:
1.61      djm        33: #LoginGraceTime 2m
1.44      stevesk    34: #PermitRootLogin yes
                     35: #StrictModes yes
1.65.2.2! brad       36: #MaxAuthTries 6
1.44      stevesk    37:
                     38: #RSAAuthentication yes
                     39: #PubkeyAuthentication yes
                     40: #AuthorizedKeysFile    .ssh/authorized_keys
1.40      markus     41:
1.47      deraadt    42: # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
1.44      stevesk    43: #RhostsRSAAuthentication no
1.36      markus     44: # similar for protocol version 2
1.44      stevesk    45: #HostbasedAuthentication no
                     46: # Change to yes if you don't trust ~/.ssh/known_hosts for
                     47: # RhostsRSAAuthentication and HostbasedAuthentication
                     48: #IgnoreUserKnownHosts no
1.63      markus     49: # Don't read the user's ~/.rhosts and ~/.shosts files
                     50: #IgnoreRhosts yes
1.6       deraadt    51:
                     52: # To disable tunneled clear text passwords, change to no here!
1.44      stevesk    53: #PasswordAuthentication yes
                     54: #PermitEmptyPasswords no
1.30      markus     55:
1.44      stevesk    56: # Change to no to disable s/key passwords
                     57: #ChallengeResponseAuthentication yes
1.6       deraadt    58:
1.44      stevesk    59: # Kerberos options
1.51      markus     60: #KerberosAuthentication no
1.1       deraadt    61: #KerberosOrLocalPasswd yes
1.44      stevesk    62: #KerberosTicketCleanup yes
1.65.2.1  brad       63: #KerberosGetAFSToken no
1.64      markus     64:
                     65: # GSSAPI options
                     66: #GSSAPIAuthentication no
1.65.2.1  brad       67: #GSSAPICleanupCredentials yes
1.1       deraadt    68:
1.61      djm        69: #AllowTcpForwarding yes
                     70: #GatewayPorts no
1.44      stevesk    71: #X11Forwarding no
                     72: #X11DisplayOffset 10
1.45      stevesk    73: #X11UseLocalhost yes
1.44      stevesk    74: #PrintMotd yes
                     75: #PrintLastLog yes
1.65.2.1  brad       76: #TCPKeepAlive yes
1.6       deraadt    77: #UseLogin no
1.54      markus     78: #UsePrivilegeSeparation yes
1.57      markus     79: #PermitUserEnvironment no
1.56      markus     80: #Compression yes
1.61      djm        81: #ClientAliveInterval 0
                     82: #ClientAliveCountMax 3
                     83: #UseDNS yes
                     84: #PidFile /var/run/sshd.pid
                     85: #MaxStartups 10
1.17      jakob      86:
1.44      stevesk    87: # no default banner path
                     88: #Banner /some/path
1.32      deraadt    89:
1.44      stevesk    90: # override default of no subsystems
1.32      deraadt    91: Subsystem      sftp    /usr/libexec/sftp-server