1 # $OpenBSD: sshd_config,v 1.89 2013/02/06 00:20:42 dtucker 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 override the
14 # Note that some of FreeBSD's defaults differ from OpenBSD's, and
15 # FreeBSD has a few additional options.
19 #ListenAddress 0.0.0.0
22 # The default requires explicit activation of protocol 1
25 # HostKey for protocol version 1
26 #HostKey /etc/ssh/ssh_host_key
27 # HostKeys for protocol version 2
28 #HostKey /etc/ssh/ssh_host_rsa_key
29 #HostKey /etc/ssh/ssh_host_dsa_key
30 #HostKey /etc/ssh/ssh_host_ecdsa_key
32 # Lifetime and size of ephemeral version 1 server key
33 #KeyRegenerationInterval 1h
37 # obsoletes QuietMode and FascistLogging
49 #RSAAuthentication yes
50 #PubkeyAuthentication yes
52 # The default is to check both .ssh/authorized_keys and .ssh/authorized_keys2
53 #AuthorizedKeysFile .ssh/authorized_keys .ssh/authorized_keys2
55 #AuthorizedPrincipalsFile none
57 #AuthorizedKeysCommand none
58 #AuthorizedKeysCommandUser nobody
60 # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
61 #RhostsRSAAuthentication no
62 # similar for protocol version 2
63 #HostbasedAuthentication no
64 # Change to yes if you don't trust ~/.ssh/known_hosts for
65 # RhostsRSAAuthentication and HostbasedAuthentication
66 #IgnoreUserKnownHosts no
67 # Don't read the user's ~/.rhosts and ~/.shosts files
70 # Change to yes to enable built-in password authentication.
71 #PasswordAuthentication no
72 #PermitEmptyPasswords no
74 # Change to no to disable PAM authentication
75 #ChallengeResponseAuthentication yes
78 #KerberosAuthentication no
79 #KerberosOrLocalPasswd yes
80 #KerberosTicketCleanup yes
81 #KerberosGetAFSToken no
84 #GSSAPIAuthentication no
85 #GSSAPICleanupCredentials yes
87 # Set this to 'no' to disable PAM authentication, account processing,
88 # and session processing. If this is enabled, PAM authentication will
89 # be allowed through the ChallengeResponseAuthentication and
90 # PasswordAuthentication. Depending on your PAM configuration,
91 # PAM authentication via ChallengeResponseAuthentication may bypass
92 # the setting of "PermitRootLogin without-password".
93 # If you just want the PAM account and session checks to run without
94 # PAM authentication, then enable this but set PasswordAuthentication
95 # and ChallengeResponseAuthentication to 'no'.
98 #AllowAgentForwarding yes
99 #AllowTcpForwarding yes
108 #UsePrivilegeSeparation yes
109 #PermitUserEnvironment no
111 #ClientAliveInterval 0
112 #ClientAliveCountMax 3
114 #PidFile /var/run/sshd.pid
115 #MaxStartups 10:30:100
117 #ChrootDirectory none
118 #VersionAddendum FreeBSD-20130515
120 # no default banner path
123 # override default of no subsystems
124 Subsystem sftp /usr/libexec/sftp-server
126 # Disable HPN tuning improvements.
129 # Buffer size for HPN to non-HPN connections.
132 # TCP receive socket buffer polling for HPN. Disable on non autotuning kernels.
135 # Allow the use of the NONE cipher.
138 # Example of overriding settings on a per-user basis
141 # AllowTcpForwarding no
142 # ForceCommand cvs server