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.2 2008/04/07 01:20:17 pavalos 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 #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 # To disable tunneled clear text passwords, change to no here!
65 #PasswordAuthentication yes
66 #PermitEmptyPasswords no
68 # Change to no to disable OPIE and 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 'yes' to enable 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 #AllowTcpForwarding yes
101 #UsePrivilegeSeparation yes
102 #PermitUserEnvironment no
104 #ClientAliveInterval 0
105 #ClientAliveCountMax 3
107 #PidFile /var/run/sshd.pid
110 #ChrootDirectory none
112 #XAuthLocation /usr/pkg/bin/xauth
114 # no default banner path
117 # override default of no subsystems
118 Subsystem sftp /usr/libexec/sftp-server
120 # Example of overriding settings on a per-user basis
123 # AllowTcpForwarding no
124 # ForceCommand cvs server