1 # $NetBSD: sshd_config,v 1.2 2009/06/07 22:38:47 christos Exp $
2 # $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 # The strategy used for options in the default sshd_config shipped with
8 # OpenSSH is to specify options with their default value where
9 # possible, but leave them commented. Uncommented options change a
14 #ListenAddress 0.0.0.0
17 # Disable legacy (protocol version 1) support in the server for new
18 # installations. In future the default will change to require explicit
19 # activation of protocol 1
22 # HostKey for protocol version 1
23 #HostKey /etc/ssh/ssh_host_key
24 # HostKeys for protocol version 2
25 #HostKey /etc/ssh/ssh_host_rsa_key
26 #HostKey /etc/ssh/ssh_host_dsa_key
28 # Lifetime and size of ephemeral version 1 server key
29 #KeyRegenerationInterval 1h
33 # obsoletes QuietMode and FascistLogging
45 #RSAAuthentication yes
46 #PubkeyAuthentication yes
47 #AuthorizedKeysFile .ssh/authorized_keys
49 # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
50 #RhostsRSAAuthentication no
51 # similar for protocol version 2
52 #HostbasedAuthentication no
53 # Change to yes if you don't trust ~/.ssh/known_hosts for
54 # RhostsRSAAuthentication and HostbasedAuthentication
55 #IgnoreUserKnownHosts no
56 # Don't read the user's ~/.rhosts and ~/.shosts files
59 # To disable tunneled clear text passwords, change to no here!
60 #PasswordAuthentication yes
61 #PermitEmptyPasswords no
63 # Change to no to disable s/key passwords
64 #ChallengeResponseAuthentication yes
67 #KerberosAuthentication no
68 #KerberosOrLocalPasswd yes
69 #KerberosTicketCleanup yes
70 #KerberosGetAFSToken no
73 #GSSAPIAuthentication no
74 #GSSAPICleanupCredentials yes
76 #AllowAgentForwarding yes
77 #AllowTcpForwarding yes
80 # If you use xorg from pkgsrc then uncomment the following line.
81 #XAuthLocation /usr/pkg/bin/xauth
88 #UsePrivilegeSeparation yes
90 #PermitUserEnvironment no
92 #ClientAliveInterval 0
93 #ClientAliveCountMax 3
95 #PidFile /var/run/sshd.pid
100 # no default banner path
103 # override default of no subsystems
104 Subsystem sftp /usr/libexec/sftp-server
106 # the following are HPN related configuration options
107 # tcp receive buffer polling. disable in non autotuning kernels
110 # allow the use of the none cipher
113 # disable hpn performance boosts.
116 # buffer size for hpn to non-hpn connections
120 # Example of overriding settings on a per-user basis
123 # AllowTcpForwarding no
124 # ForceCommand cvs server