1 # $OpenBSD: sshd_config,v 1.65 2003/08/28 12:54:34 markus Exp $
3 # This is the sshd server system-wide configuration file. See
4 # sshd_config(5) for more information.
6 # This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin
8 # The strategy used for options in the default sshd_config shipped with
9 # OpenSSH is to specify options with their default value where
10 # possible, but leave them commented. Uncommented options change a
15 #ListenAddress 0.0.0.0
18 # HostKey for protocol version 1
19 #HostKey /etc/ssh/ssh_host_key
20 # HostKeys for protocol version 2
21 #HostKey /etc/ssh/ssh_host_rsa_key
22 #HostKey /etc/ssh/ssh_host_dsa_key
24 # Lifetime and size of ephemeral version 1 server key
25 #KeyRegenerationInterval 1h
29 #obsoletes QuietMode and FascistLogging
39 #RSAAuthentication yes
40 #PubkeyAuthentication yes
41 #AuthorizedKeysFile .ssh/authorized_keys
43 # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
44 #RhostsRSAAuthentication no
45 # similar for protocol version 2
46 #HostbasedAuthentication no
47 # Change to yes if you don't trust ~/.ssh/known_hosts for
48 # RhostsRSAAuthentication and HostbasedAuthentication
49 #IgnoreUserKnownHosts no
50 # Don't read the user's ~/.rhosts and ~/.shosts files
53 # To disable tunneled clear text passwords, change to no here!
54 #PasswordAuthentication yes
55 #PermitEmptyPasswords no
57 # Change to no to disable s/key passwords
58 #ChallengeResponseAuthentication yes
61 #KerberosAuthentication no
62 #KerberosOrLocalPasswd yes
63 #KerberosTicketCleanup yes
65 # Session hooks: if allowed, specify the commands to execute
66 #AllowSessionHooks yes
67 #SessionHookStartupCmd /bin/true
68 #SessionHookShutdownCmd /bin/true
71 #GSSAPIAuthentication yes
72 #GSSAPICleanupCreds yes
74 # Set this to 'yes' to enable PAM authentication (via challenge-response)
75 # and session processing. Depending on your PAM configuration, this may
76 # bypass the setting of 'PasswordAuthentication'
79 #AllowTcpForwarding yes
88 #UsePrivilegeSeparation yes
89 #PermitUserEnvironment no
91 #ClientAliveInterval 0
92 #ClientAliveCountMax 3
94 #PidFile /var/run/sshd.pid
97 # no default banner path
100 # override default of no subsystems
101 Subsystem sftp /usr/libexec/sftp-server