1 # $OpenBSD: sshd_config,v 1.80 2008/07/02 02:24:18 djm 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-20080901
22 #ListenAddress 0.0.0.0
25 # Disable legacy (protocol version 1) support in the server for new
26 # installations. In future the default will change to require explicit
27 # activation of protocol 1
30 # HostKey for protocol version 1
31 #HostKey /etc/ssh/ssh_host_key
32 # HostKeys for protocol version 2
33 #HostKey /etc/ssh/ssh_host_dsa_key
35 # Lifetime and size of ephemeral version 1 server key
36 #KeyRegenerationInterval 1h
40 # obsoletes QuietMode and FascistLogging
52 #RSAAuthentication yes
53 #PubkeyAuthentication yes
54 #AuthorizedKeysFile .ssh/authorized_keys
56 # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
57 #RhostsRSAAuthentication no
58 # similar for protocol version 2
59 #HostbasedAuthentication no
60 # Change to yes if you don't trust ~/.ssh/known_hosts for
61 # RhostsRSAAuthentication and HostbasedAuthentication
62 #IgnoreUserKnownHosts no
63 # Don't read the user's ~/.rhosts and ~/.shosts files
66 # Change to yes to enable built-in password authentication.
67 #PasswordAuthentication no
68 #PermitEmptyPasswords no
70 # Change to no to disable PAM authentication
71 #ChallengeResponseAuthentication yes
74 #KerberosAuthentication no
75 #KerberosOrLocalPasswd yes
76 #KerberosTicketCleanup yes
77 #KerberosGetAFSToken no
80 #GSSAPIAuthentication no
81 #GSSAPICleanupCredentials yes
83 # Set this to 'no' to disable PAM authentication, account processing,
84 # and session processing. If this is enabled, PAM authentication will
85 # be allowed through the ChallengeResponseAuthentication and
86 # PasswordAuthentication. Depending on your PAM configuration,
87 # PAM authentication via ChallengeResponseAuthentication may bypass
88 # the setting of "PermitRootLogin without-password".
89 # If you just want the PAM account and session checks to run without
90 # PAM authentication, then enable this but set PasswordAuthentication
91 # and ChallengeResponseAuthentication to 'no'.
94 #AllowAgentForwarding yes
95 #AllowTcpForwarding yes
104 #UsePrivilegeSeparation yes
105 #PermitUserEnvironment no
107 #ClientAliveInterval 0
108 #ClientAliveCountMax 3
110 #PidFile /var/run/sshd.pid
113 #ChrootDirectory none
115 # no default banner path
118 # override default of no subsystems
119 Subsystem sftp /usr/libexec/sftp-server
121 # Example of overriding settings on a per-user basis
124 # AllowTcpForwarding no
125 # ForceCommand cvs server