Annotation of src/usr.bin/ssh/sshd_config, Revision 1.35
1.35 ! stevesk 1: # $OpenBSD: sshd_config,v 1.34 2001/02/24 10:37:26 deraadt 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.16 todd 7: #Protocol 2,1
1.15 markus 8: #ListenAddress 0.0.0.0
9: #ListenAddress ::
1.2 deraadt 10: HostKey /etc/ssh_host_key
1.34 deraadt 11: HostKey /etc/ssh_host_rsa_key
1.23 markus 12: HostKey /etc/ssh_host_dsa_key
1.1 deraadt 13: ServerKeyBits 768
14: LoginGraceTime 600
15: KeyRegenerationInterval 3600
16: PermitRootLogin yes
17: #
18: # Don't read ~/.rhosts and ~/.shosts files
19: IgnoreRhosts yes
1.14 markus 20: # Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
21: #IgnoreUserKnownHosts yes
1.1 deraadt 22: StrictModes yes
1.3 deraadt 23: X11Forwarding no
24: X11DisplayOffset 10
1.1 deraadt 25: PrintMotd yes
1.35 ! stevesk 26: #PrintLastLog no
1.1 deraadt 27: KeepAlive yes
1.13 markus 28:
29: # Logging
1.4 deraadt 30: SyslogFacility AUTH
1.13 markus 31: LogLevel INFO
32: #obsoletes QuietMode and FascistLogging
33:
1.1 deraadt 34: RhostsAuthentication no
35: #
1.2 deraadt 36: # For this to work you will also need host keys in /etc/ssh_known_hosts
1.8 deraadt 37: RhostsRSAAuthentication no
1.1 deraadt 38: #
1.8 deraadt 39: RSAAuthentication yes
1.6 deraadt 40:
41: # To disable tunneled clear text passwords, change to no here!
1.5 deraadt 42: PasswordAuthentication yes
1.1 deraadt 43: PermitEmptyPasswords no
1.30 markus 44:
1.9 markus 45: # Uncomment to disable s/key passwords
1.31 djm 46: #ChallengeResponseAuthentication no
1.6 deraadt 47:
48: # To change Kerberos options
49: #KerberosAuthentication no
1.1 deraadt 50: #KerberosOrLocalPasswd yes
1.6 deraadt 51: #AFSTokenPassing no
52: #KerberosTicketCleanup no
1.1 deraadt 53:
54: # Kerberos TGT Passing does only work with the AFS kaserver
55: #KerberosTgtPassing yes
56:
1.10 markus 57: #CheckMail yes
1.6 deraadt 58: #UseLogin no
1.17 jakob 59:
1.19 markus 60: #MaxStartups 10:30:60
1.24 markus 61: #Banner /etc/issue.net
1.29 markus 62: #ReverseMappingCheck yes
1.32 deraadt 63:
64: Subsystem sftp /usr/libexec/sftp-server