Annotation of src/usr.bin/ssh/sshd_config, Revision 1.16.2.3
1.16.2.3! jason 1: # $OpenBSD: sshd_config,v 1.32 2001/02/06 22:07:50 deraadt Exp $
! 2:
! 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.16.2.3! jason 11: HostKey /etc/ssh_host_dsa_key
! 12: #HostKey /etc/ssh_host_rsa_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
26: KeepAlive yes
1.13 markus 27:
28: # Logging
1.4 deraadt 29: SyslogFacility AUTH
1.13 markus 30: LogLevel INFO
31: #obsoletes QuietMode and FascistLogging
32:
1.1 deraadt 33: RhostsAuthentication no
34: #
1.2 deraadt 35: # For this to work you will also need host keys in /etc/ssh_known_hosts
1.8 deraadt 36: RhostsRSAAuthentication no
1.1 deraadt 37: #
1.8 deraadt 38: RSAAuthentication yes
1.6 deraadt 39:
40: # To disable tunneled clear text passwords, change to no here!
1.5 deraadt 41: PasswordAuthentication yes
1.1 deraadt 42: PermitEmptyPasswords no
1.16.2.3! jason 43:
1.9 markus 44: # Uncomment to disable s/key passwords
1.16.2.3! jason 45: #ChallengeResponseAuthentication no
1.6 deraadt 46:
47: # To change Kerberos options
48: #KerberosAuthentication no
1.1 deraadt 49: #KerberosOrLocalPasswd yes
1.6 deraadt 50: #AFSTokenPassing no
51: #KerberosTicketCleanup no
1.1 deraadt 52:
53: # Kerberos TGT Passing does only work with the AFS kaserver
54: #KerberosTgtPassing yes
55:
1.10 markus 56: #CheckMail yes
1.6 deraadt 57: #UseLogin no
1.16.2.1 jason 58:
59: #MaxStartups 10:30:60
1.16.2.3! jason 60: #Banner /etc/issue.net
! 61: #ReverseMappingCheck yes
! 62:
! 63: Subsystem sftp /usr/libexec/sftp-server