1 # $OpenBSD: sshd_config,v 1.82 2010/09/06 17:10:19 naddy Exp $
4 # This is the sshd server system-wide configuration file. See
5 # sshd_config(5) for more information.
7 # This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin
9 # The strategy used for options in the default sshd_config shipped with
10 # OpenSSH is to specify options with their default value where
11 # possible, but leave them commented. Uncommented options change a
14 # Note that some of FreeBSD's defaults differ from OpenBSD's, and
15 # FreeBSD has a few additional options.
17 #VersionAddendum FreeBSD-20110503
21 #ListenAddress 0.0.0.0
24 # The default requires explicit activation of protocol 1
27 # HostKey for protocol version 1
28 #HostKey /etc/ssh/ssh_host_key
29 # HostKeys for protocol version 2
30 #HostKey /etc/ssh/ssh_host_rsa_key
31 #HostKey /etc/ssh/ssh_host_dsa_key
32 #HostKey /etc/ssh/ssh_host_ecdsa_key
34 # Lifetime and size of ephemeral version 1 server key
35 #KeyRegenerationInterval 1h
39 # obsoletes QuietMode and FascistLogging
51 #RSAAuthentication yes
52 #PubkeyAuthentication yes
53 #AuthorizedKeysFile .ssh/authorized_keys
55 # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
56 #RhostsRSAAuthentication no
57 # similar for protocol version 2
58 #HostbasedAuthentication no
59 # Change to yes if you don't trust ~/.ssh/known_hosts for
60 # RhostsRSAAuthentication and HostbasedAuthentication
61 #IgnoreUserKnownHosts no
62 # Don't read the user's ~/.rhosts and ~/.shosts files
65 # Change to yes to enable built-in password authentication.
66 #PasswordAuthentication no
67 #PermitEmptyPasswords no
69 # Change to no to disable PAM authentication
70 #ChallengeResponseAuthentication yes
73 #KerberosAuthentication no
74 #KerberosOrLocalPasswd yes
75 #KerberosTicketCleanup yes
76 #KerberosGetAFSToken no
79 #GSSAPIAuthentication no
80 #GSSAPICleanupCredentials yes
82 # Set this to 'no' to disable PAM authentication, account processing,
83 # and session processing. If this is enabled, PAM authentication will
84 # be allowed through the ChallengeResponseAuthentication and
85 # PasswordAuthentication. Depending on your PAM configuration,
86 # PAM authentication via ChallengeResponseAuthentication may bypass
87 # the setting of "PermitRootLogin without-password".
88 # If you just want the PAM account and session checks to run without
89 # PAM authentication, then enable this but set PasswordAuthentication
90 # and ChallengeResponseAuthentication to 'no'.
93 #AllowAgentForwarding yes
94 #AllowTcpForwarding yes
103 #UsePrivilegeSeparation yes
104 #PermitUserEnvironment no
106 #ClientAliveInterval 0
107 #ClientAliveCountMax 3
109 #PidFile /var/run/sshd.pid
112 #ChrootDirectory none
114 # no default banner path
117 # override default of no subsystems
118 Subsystem sftp /usr/libexec/sftp-server
120 # Disable HPN tuning improvements.
123 # Buffer size for HPN to non-HPN connections.
126 # TCP receive socket buffer polling for HPN. Disable on non autotuning kernels.
129 # Allow the use of the NONE cipher.
132 # Example of overriding settings on a per-user basis
135 # AllowTcpForwarding no
136 # ForceCommand cvs server