1 # $OpenBSD: sshd_config,v 1.77 2008/02/08 23:24:07 djm Exp $
2 # $DragonFly: src/crypto/openssh-5/sshd_config,v 1.3 2008/05/16 10:48:44 corecode 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 DragonFly's defaults differ from OpenBSD's, and
15 # DragonFly has a few additional options.
17 #VersionAddendum DragonFly-20080406
21 #ListenAddress 0.0.0.0
24 # Disable legacy (protocol version 1) support in the server for new
25 # installations. In future the default will change to require explicit
26 # activation of protocol 1
29 # HostKey for protocol version 1
30 #HostKey /etc/ssh/ssh_host_key
31 # HostKeys for protocol version 2
32 #HostKey /etc/ssh/ssh_host_dsa_key
34 # Lifetime and size of ephemeral version 1 server key
35 #KeyRegenerationInterval 1h
39 # obsoletes QuietMode and FascistLogging
50 #RSAAuthentication yes
51 #PubkeyAuthentication yes
52 #PermitBlacklistedKeys no
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 # To disable tunneled clear text passwords, change to no here!
66 #PasswordAuthentication yes
67 #PermitEmptyPasswords no
69 # Change to no to disable OPIE and 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 'yes' to enable 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 #AllowTcpForwarding yes
102 #UsePrivilegeSeparation yes
103 #PermitUserEnvironment no
105 #ClientAliveInterval 0
106 #ClientAliveCountMax 3
108 #PidFile /var/run/sshd.pid
111 #ChrootDirectory none
113 #XAuthLocation /usr/pkg/bin/xauth
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