Annotation of src/usr.bin/ssh/sshd_config, Revision 1.40
1.40 ! markus 1: # $OpenBSD: sshd_config,v 1.39 2001/05/20 17:20:36 markus 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.40 ! markus 10:
! 11: # HostKey for protocol version 1
1.2 deraadt 12: HostKey /etc/ssh_host_key
1.40 ! markus 13: # HostKeys for protocol version 2
1.34 deraadt 14: HostKey /etc/ssh_host_rsa_key
1.23 markus 15: HostKey /etc/ssh_host_dsa_key
1.40 ! markus 16:
! 17: # Lifetime and size of ephemeral version 1 server key
! 18: KeyRegenerationInterval 3600
1.1 deraadt 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.40 ! markus 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: #AuthorizedKeysFile2 %h/.ssh/authorized_keys2
! 36:
! 37: # rhosts authentication should not be used
1.1 deraadt 38: RhostsAuthentication no
1.40 ! markus 39: # Don't read the user's ~/.rhosts and ~/.shosts files
! 40: IgnoreRhosts yes
1.2 deraadt 41: # For this to work you will also need host keys in /etc/ssh_known_hosts
1.8 deraadt 42: RhostsRSAAuthentication no
1.36 markus 43: # similar for protocol version 2
44: HostbasedAuthentication no
1.40 ! markus 45: # Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
! 46: #IgnoreUserKnownHosts yes
1.6 deraadt 47:
48: # To disable tunneled clear text passwords, change to no here!
1.5 deraadt 49: PasswordAuthentication yes
1.1 deraadt 50: PermitEmptyPasswords no
1.30 markus 51:
1.9 markus 52: # Uncomment to disable s/key passwords
1.31 djm 53: #ChallengeResponseAuthentication no
1.6 deraadt 54:
55: # To change Kerberos options
56: #KerberosAuthentication no
1.1 deraadt 57: #KerberosOrLocalPasswd yes
1.6 deraadt 58: #AFSTokenPassing no
59: #KerberosTicketCleanup no
1.1 deraadt 60:
61: # Kerberos TGT Passing does only work with the AFS kaserver
62: #KerberosTgtPassing yes
63:
1.40 ! markus 64: X11Forwarding no
! 65: X11DisplayOffset 10
! 66: PrintMotd yes
! 67: #PrintLastLog no
! 68: KeepAlive yes
1.10 markus 69: #CheckMail yes
1.6 deraadt 70: #UseLogin no
1.17 jakob 71:
1.19 markus 72: #MaxStartups 10:30:60
1.24 markus 73: #Banner /etc/issue.net
1.29 markus 74: #ReverseMappingCheck yes
1.32 deraadt 75:
76: Subsystem sftp /usr/libexec/sftp-server