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