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