1 # This is the sshd server system-wide configuration file. See
2 # sshd_config(5) for more information.
4 # This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin
6 # The strategy used for options in the default sshd_config shipped with
7 # OpenSSH is to specify options with their default value where
8 # possible, but leave them commented. Uncommented options change a
13 #ListenAddress 0.0.0.0
16 # Disable legacy (protocol version 1) support in the server for new
17 # installations. In future the default will change to require explicit
18 # activation of protocol 1
21 # HostKey for protocol version 1
22 #HostKey /etc/ssh/ssh_host_key
23 # HostKeys for protocol version 2
24 #HostKey /etc/ssh/ssh_host_rsa_key
25 #HostKey /etc/ssh/ssh_host_dsa_key
27 # Lifetime and size of ephemeral version 1 server key
28 #KeyRegenerationInterval 1h
32 # obsoletes QuietMode and FascistLogging
45 PubkeyAuthentication yes
46 #AuthorizedKeysFile .ssh/authorized_keys
48 # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
49 #RhostsRSAAuthentication no
50 # similar for protocol version 2
51 #HostbasedAuthentication no
52 # Change to yes if you don't trust ~/.ssh/known_hosts for
53 # RhostsRSAAuthentication and HostbasedAuthentication
54 IgnoreUserKnownHosts yes
55 # Don't read the user's ~/.rhosts and ~/.shosts files
58 # To disable tunneled clear text passwords, change to no here!
59 PasswordAuthentication yes
60 #PermitEmptyPasswords no
62 # Change to no to disable s/key passwords
63 ChallengeResponseAuthentication yes
66 #KerberosAuthentication no
67 #KerberosOrLocalPasswd yes
68 #KerberosTicketCleanup yes
69 #KerberosGetAFSToken no
72 #GSSAPIAuthentication no
73 #GSSAPICleanupCredentials yes
75 # Set this to 'yes' to enable PAM authentication, account processing,
76 # and session processing. If this is enabled, PAM authentication will
77 # be allowed through the ChallengeResponseAuthentication and
78 # PasswordAuthentication. Depending on your PAM configuration,
79 # PAM authentication via ChallengeResponseAuthentication may bypass
80 # the setting of "PermitRootLogin without-password".
81 # If you just want the PAM account and session checks to run without
82 # PAM authentication, then enable this but set PasswordAuthentication
83 # and ChallengeResponseAuthentication to 'no'.
86 #AllowAgentForwarding yes
87 AllowTcpForwarding yes
96 #UsePrivilegeSeparation yes
97 #PermitUserEnvironment no
99 #ClientAliveInterval 0
100 #ClientAliveCountMax 3
102 #PidFile /var/run/sshd.pid
105 #ChrootDirectory none
107 # no default banner path
110 # override default of no subsystems
111 Subsystem sftp /usr/lib/openssh/sftp-server
113 # Example of overriding settings on a per-user basis
116 # AllowTcpForwarding no
117 # ForceCommand cvs server