1 # $OpenBSD: sshd_config,v 1.72 2005/07/25 11:59:40 markus Exp $
3 # This is the sshd server system-wide configuration file. See
4 # sshd_config(5) for more information.
6 # This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin
8 # The strategy used for options in the default sshd_config shipped with
9 # OpenSSH is to specify options with their default value where
10 # possible, but leave them commented. Uncommented options change a
16 #ListenAddress 0.0.0.0
19 # HostKey for protocol version 1
20 #HostKey /etc/ssh/ssh_host_key
21 # HostKeys for protocol version 2
22 #HostKey /etc/ssh/ssh_host_rsa_key
23 #HostKey /etc/ssh/ssh_host_dsa_key
25 # Lifetime and size of ephemeral version 1 server key
26 #KeyRegenerationInterval 1h
30 # obsoletes QuietMode and FascistLogging
41 #RSAAuthentication yes
42 #PubkeyAuthentication yes
43 #AuthorizedKeysFile .ssh/authorized_keys
45 # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
46 #RhostsRSAAuthentication no
47 # similar for protocol version 2
48 #HostbasedAuthentication no
49 # Change to yes if you don't trust ~/.ssh/known_hosts for
50 # RhostsRSAAuthentication and HostbasedAuthentication
51 #IgnoreUserKnownHosts no
52 # Don't read the user's ~/.rhosts and ~/.shosts files
55 # To disable tunneled clear text passwords, change to no here!
56 #PasswordAuthentication yes
57 #PermitEmptyPasswords no
59 # Change to no to disable s/key passwords
60 #ChallengeResponseAuthentication yes
63 #KerberosAuthentication no
64 #KerberosOrLocalPasswd yes
65 #KerberosTicketCleanup yes
66 #KerberosGetAFSToken no
69 #GSSAPIAuthentication no
70 #GSSAPICleanupCredentials yes
72 # Set this to 'yes' to enable PAM authentication, account processing,
73 # and session processing. If this is enabled, PAM authentication will
74 # be allowed through the ChallengeResponseAuthentication mechanism.
75 # Depending on your PAM configuration, this may bypass the setting of
76 # PasswordAuthentication, PermitEmptyPasswords, and
77 # "PermitRootLogin without-password". If you just want the PAM account and
78 # session checks to run without PAM authentication, then enable this but set
79 # ChallengeResponseAuthentication=no
82 #AllowTcpForwarding yes
91 #UsePrivilegeSeparation yes
92 #PermitUserEnvironment no
94 #ClientAliveInterval 0
95 #ClientAliveCountMax 3
97 #PidFile /var/run/sshd.pid
100 # no default banner path
103 # override default of no subsystems
104 Subsystem sftp /usr/libexec/sftp-server