1 # Package generated configuration file
2 # See the sshd_config(5) manpage for details
4 # What ports, IPs and protocols we listen for
6 # Use these options to restrict which interfaces/protocols sshd will bind to
10 # HostKeys for protocol version 2
11 HostKey /etc/ssh/ssh_host_rsa_key
12 HostKey /etc/ssh/ssh_host_dsa_key
13 #Privilege Separation is turned on for security
14 UsePrivilegeSeparation yes
16 # Lifetime and size of ephemeral version 1 server key
17 KeyRegenerationInterval 3600
30 PubkeyAuthentication yes
31 AuthorizedKeysFile /etc/ssh/authorized_keys/%u
33 # Don't read the user's ~/.rhosts and ~/.shosts files
35 # For this to work you will also need host keys in /etc/ssh_known_hosts
36 RhostsRSAAuthentication no
37 # similar for protocol version 2
38 HostbasedAuthentication no
39 # Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
40 #IgnoreUserKnownHosts yes
42 # To enable empty passwords, change to yes (NOT RECOMMENDED)
43 PermitEmptyPasswords no
45 # Change to yes to enable challenge-response passwords (beware issues with
46 # some PAM modules and threads)
47 ChallengeResponseAuthentication no
49 # Change to no to disable tunnelled clear text passwords
50 PasswordAuthentication no
53 #KerberosAuthentication no
54 #KerberosGetAFSToken no
55 #KerberosOrLocalPasswd yes
56 #KerberosTicketCleanup yes
59 #GSSAPIAuthentication no
60 #GSSAPICleanupCredentials yes
70 #Banner /etc/issue.net
72 # Allow client to pass locale environment variables
75 Subsystem sftp /usr/lib/openssh/sftp-server
77 # Set this to 'yes' to enable PAM authentication, account processing,
78 # and session processing. If this is enabled, PAM authentication will
79 # be allowed through the ChallengeResponseAuthentication and
80 # PasswordAuthentication. Depending on your PAM configuration,
81 # PAM authentication via ChallengeResponseAuthentication may bypass
82 # the setting of "PermitRootLogin without-password".
83 # If you just want the PAM account and session checks to run without
84 # PAM authentication, then enable this but set PasswordAuthentication
85 # and ChallengeResponseAuthentication to 'no'.