Annotation of src/usr.bin/ssh/sshd_config, Revision 1.21.2.5
1.21.2.5! miod 1: # $OpenBSD: sshd_config,v 1.42 2001/09/20 20:57:51 mouring Exp $
1.21.2.1 jason 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.21.2.5! miod 10:
! 11: # HostKey for protocol version 1
1.2 deraadt 12: HostKey /etc/ssh_host_key
1.21.2.5! miod 13: # HostKeys for protocol version 2
1.21.2.3 jason 14: HostKey /etc/ssh_host_rsa_key
1.21.2.1 jason 15: HostKey /etc/ssh_host_dsa_key
1.21.2.5! miod 16:
! 17: # Lifetime and size of ephemeral version 1 server key
1.1 deraadt 18: KeyRegenerationInterval 3600
1.21.2.5! miod 19: ServerKeyBits 768
1.13 markus 20:
21: # Logging
1.4 deraadt 22: SyslogFacility AUTH
1.13 markus 23: LogLevel INFO
24: #obsoletes QuietMode and FascistLogging
25:
1.21.2.5! miod 26: # Authentication:
! 27:
! 28: LoginGraceTime 600
! 29: PermitRootLogin yes
! 30: StrictModes yes
! 31:
! 32: RSAAuthentication yes
! 33: PubkeyAuthentication yes
! 34: #AuthorizedKeysFile %h/.ssh/authorized_keys
! 35:
! 36: # rhosts authentication should not be used
1.1 deraadt 37: RhostsAuthentication no
1.21.2.5! miod 38: # Don't read the user's ~/.rhosts and ~/.shosts files
! 39: IgnoreRhosts yes
1.2 deraadt 40: # For this to work you will also need host keys in /etc/ssh_known_hosts
1.8 deraadt 41: RhostsRSAAuthentication no
1.21.2.4 jason 42: # similar for protocol version 2
43: HostbasedAuthentication no
1.21.2.5! miod 44: # Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
! 45: #IgnoreUserKnownHosts yes
1.6 deraadt 46:
47: # To disable tunneled clear text passwords, change to no here!
1.5 deraadt 48: PasswordAuthentication yes
1.1 deraadt 49: PermitEmptyPasswords no
1.21.2.1 jason 50:
1.9 markus 51: # Uncomment to disable s/key passwords
1.21.2.1 jason 52: #ChallengeResponseAuthentication no
1.6 deraadt 53:
54: # To change Kerberos options
55: #KerberosAuthentication no
1.1 deraadt 56: #KerberosOrLocalPasswd yes
1.6 deraadt 57: #AFSTokenPassing no
58: #KerberosTicketCleanup no
1.1 deraadt 59:
60: # Kerberos TGT Passing does only work with the AFS kaserver
61: #KerberosTgtPassing yes
62:
1.21.2.5! miod 63: X11Forwarding no
! 64: X11DisplayOffset 10
! 65: PrintMotd yes
! 66: #PrintLastLog no
! 67: KeepAlive yes
1.6 deraadt 68: #UseLogin no
1.17 jakob 69:
1.19 markus 70: #MaxStartups 10:30:60
1.21.2.1 jason 71: #Banner /etc/issue.net
72: #ReverseMappingCheck yes
73:
74: Subsystem sftp /usr/libexec/sftp-server