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

1.43    ! deraadt     1: #      $OpenBSD: sshd_config,v 1.42 2001/09/20 20:57:51 mouring Exp $
1.27      niklas      2:
1.28      deraadt     3: # This is the sshd server system-wide configuration file.  See sshd(8)
                      4: # for more information.
1.1       deraadt     5:
                      6: Port 22
1.38      deraadt     7: #Protocol 2,1
1.15      markus      8: #ListenAddress 0.0.0.0
                      9: #ListenAddress ::
1.40      markus     10:
                     11: # HostKey for protocol version 1
1.2       deraadt    12: HostKey /etc/ssh_host_key
1.40      markus     13: # HostKeys for protocol version 2
1.34      deraadt    14: HostKey /etc/ssh_host_rsa_key
1.23      markus     15: HostKey /etc/ssh_host_dsa_key
1.40      markus     16:
                     17: # Lifetime and size of ephemeral version 1 server key
                     18: KeyRegenerationInterval 3600
1.1       deraadt    19: ServerKeyBits 768
1.13      markus     20:
                     21: # Logging
1.4       deraadt    22: SyslogFacility AUTH
1.13      markus     23: LogLevel INFO
                     24: #obsoletes QuietMode and FascistLogging
                     25:
1.40      markus     26: # Authentication:
                     27:
                     28: LoginGraceTime 600
                     29: PermitRootLogin yes
                     30: StrictModes yes
                     31:
                     32: RSAAuthentication yes
                     33: PubkeyAuthentication yes
                     34: #AuthorizedKeysFile    %h/.ssh/authorized_keys
                     35:
                     36: # rhosts authentication should not be used
1.1       deraadt    37: RhostsAuthentication no
1.40      markus     38: # Don't read the user's ~/.rhosts and ~/.shosts files
                     39: IgnoreRhosts yes
1.2       deraadt    40: # For this to work you will also need host keys in /etc/ssh_known_hosts
1.8       deraadt    41: RhostsRSAAuthentication no
1.36      markus     42: # similar for protocol version 2
                     43: HostbasedAuthentication no
1.40      markus     44: # Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
                     45: #IgnoreUserKnownHosts yes
1.6       deraadt    46:
                     47: # To disable tunneled clear text passwords, change to no here!
1.5       deraadt    48: PasswordAuthentication yes
1.1       deraadt    49: PermitEmptyPasswords no
1.30      markus     50:
1.43    ! deraadt    51: # Uncomment to disable s/key passwords
1.31      djm        52: #ChallengeResponseAuthentication no
1.6       deraadt    53:
                     54: # To change Kerberos options
                     55: #KerberosAuthentication no
1.1       deraadt    56: #KerberosOrLocalPasswd yes
1.6       deraadt    57: #AFSTokenPassing no
                     58: #KerberosTicketCleanup no
1.1       deraadt    59:
                     60: # Kerberos TGT Passing does only work with the AFS kaserver
                     61: #KerberosTgtPassing yes
                     62:
1.40      markus     63: X11Forwarding no
                     64: X11DisplayOffset 10
                     65: PrintMotd yes
                     66: #PrintLastLog no
                     67: KeepAlive yes
1.6       deraadt    68: #UseLogin no
1.17      jakob      69:
1.19      markus     70: #MaxStartups 10:30:60
1.24      markus     71: #Banner /etc/issue.net
1.29      markus     72: #ReverseMappingCheck yes
1.32      deraadt    73:
                     74: Subsystem      sftp    /usr/libexec/sftp-server