Annotation of src/usr.bin/ssh/sshd_config, Revision 1.38
1.38 ! deraadt 1: # $OpenBSD: sshd_config,v 1.37 2001/04/15 21:05:49 stevesk 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.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.36 markus 38: # similar for protocol version 2
39: HostbasedAuthentication no
1.1 deraadt 40: #
1.8 deraadt 41: RSAAuthentication yes
1.6 deraadt 42:
43: # To disable tunneled clear text passwords, change to no here!
1.5 deraadt 44: PasswordAuthentication yes
1.1 deraadt 45: PermitEmptyPasswords no
1.30 markus 46:
1.9 markus 47: # Uncomment to disable s/key passwords
1.31 djm 48: #ChallengeResponseAuthentication no
1.6 deraadt 49:
50: # To change Kerberos options
51: #KerberosAuthentication no
1.1 deraadt 52: #KerberosOrLocalPasswd yes
1.6 deraadt 53: #AFSTokenPassing no
54: #KerberosTicketCleanup no
1.1 deraadt 55:
56: # Kerberos TGT Passing does only work with the AFS kaserver
57: #KerberosTgtPassing yes
58:
1.10 markus 59: #CheckMail yes
1.6 deraadt 60: #UseLogin no
1.17 jakob 61:
1.19 markus 62: #MaxStartups 10:30:60
1.24 markus 63: #Banner /etc/issue.net
1.29 markus 64: #ReverseMappingCheck yes
1.32 deraadt 65:
66: Subsystem sftp /usr/libexec/sftp-server