1 # $OpenBSD: sshd_config,v 1.81 2009/10/08 14:03:41 markus 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-20100308
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
33 # Lifetime and size of ephemeral version 1 server key
34 #KeyRegenerationInterval 1h
38 # obsoletes QuietMode and FascistLogging
50 #RSAAuthentication yes
51 #PubkeyAuthentication yes
52 #AuthorizedKeysFile .ssh/authorized_keys
54 # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
55 #RhostsRSAAuthentication no
56 # similar for protocol version 2
57 #HostbasedAuthentication no
58 # Change to yes if you don't trust ~/.ssh/known_hosts for
59 # RhostsRSAAuthentication and HostbasedAuthentication
60 #IgnoreUserKnownHosts no
61 # Don't read the user's ~/.rhosts and ~/.shosts files
64 # Change to yes to enable built-in password authentication.
65 #PasswordAuthentication no
66 #PermitEmptyPasswords no
68 # Change to no to disable PAM authentication
69 #ChallengeResponseAuthentication yes
72 #KerberosAuthentication no
73 #KerberosOrLocalPasswd yes
74 #KerberosTicketCleanup yes
75 #KerberosGetAFSToken no
78 #GSSAPIAuthentication no
79 #GSSAPICleanupCredentials yes
81 # Set this to 'no' to disable PAM authentication, account processing,
82 # and session processing. If this is enabled, PAM authentication will
83 # be allowed through the ChallengeResponseAuthentication and
84 # PasswordAuthentication. Depending on your PAM configuration,
85 # PAM authentication via ChallengeResponseAuthentication may bypass
86 # the setting of "PermitRootLogin without-password".
87 # If you just want the PAM account and session checks to run without
88 # PAM authentication, then enable this but set PasswordAuthentication
89 # and ChallengeResponseAuthentication to 'no'.
92 #AllowAgentForwarding yes
93 #AllowTcpForwarding yes
102 #UsePrivilegeSeparation yes
103 #PermitUserEnvironment no
105 #ClientAliveInterval 0
106 #ClientAliveCountMax 3
108 #PidFile /var/run/sshd.pid
111 #ChrootDirectory none
113 # no default banner path
116 # override default of no subsystems
117 Subsystem sftp /usr/libexec/sftp-server
119 # Example of overriding settings on a per-user basis
122 # AllowTcpForwarding no
123 # ForceCommand cvs server