]>
Commit | Line | Data |
---|---|---|
87606687 JB |
1 | # This is the sshd server system-wide configuration file. See |
2 | # sshd_config(5) for more information. | |
3 | ||
4 | # The strategy used for options in the default sshd_config shipped with | |
5 | # OpenSSH is to specify options with their default value where | |
6 | # possible, but leave them commented. Uncommented options change a | |
7 | # default value. | |
cf3b46d6 AF |
8 | |
9 | Port 22 | |
49b902b2 | 10 | Protocol 1,2 |
3f1168a9 AM |
11 | #ListenAddress 0.0.0.0 |
12 | #ListenAddress :: | |
87606687 JB |
13 | |
14 | # HostKey for protocol version 1 | |
49b902b2 | 15 | #HostKey /etc/ssh/ssh_host_key |
87606687 JB |
16 | # HostKeys for protocol version 2 |
17 | #HostKey /etc/ssh/ssh_host_rsa_key | |
c94945b8 | 18 | #HostKey /etc/ssh/ssh_host_dsa_key |
87606687 JB |
19 | |
20 | # Lifetime and size of ephemeral version 1 server key | |
cf3b46d6 | 21 | KeyRegenerationInterval 3600 |
87606687 | 22 | ServerKeyBits 768 |
3f1168a9 AM |
23 | |
24 | # Logging | |
87606687 | 25 | #obsoletes QuietMode and FascistLogging |
3f1168a9 AM |
26 | SyslogFacility AUTH |
27 | LogLevel INFO | |
3f1168a9 | 28 | |
87606687 JB |
29 | # Authentication: |
30 | ||
31 | LoginGraceTime 600 | |
32 | PermitRootLogin no | |
33 | StrictModes yes | |
34 | ||
35 | RSAAuthentication yes | |
36 | #PubkeyAuthentication yes | |
37 | #AuthorizedKeysFile .ssh/authorized_keys | |
38 | ||
39 | # rhosts authentication should not be used | |
cf3b46d6 | 40 | RhostsAuthentication no |
87606687 JB |
41 | # Don't read the user's ~/.rhosts and ~/.shosts files |
42 | IgnoreRhosts yes | |
3f1168a9 AM |
43 | # For this to work you will also need host keys in /etc/ssh_known_hosts |
44 | RhostsRSAAuthentication no | |
87606687 JB |
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 | |
3f1168a9 AM |
50 | |
51 | # To disable tunneled clear text passwords, change to no here! | |
cf3b46d6 | 52 | PasswordAuthentication yes |
3f1168a9 | 53 | PermitEmptyPasswords no |
3f1168a9 | 54 | |
87606687 JB |
55 | # Change to no to disable s/key passwords |
56 | #ChallengeResponseAuthentication yes | |
57 | ||
58 | # Kerberos options | |
3f1168a9 AM |
59 | #KerberosAuthentication no |
60 | #KerberosOrLocalPasswd yes | |
87606687 JB |
61 | #KerberosTicketCleanup yes |
62 | ||
3f1168a9 | 63 | #AFSTokenPassing no |
3f1168a9 | 64 | |
87606687 JB |
65 | # Kerberos TGT Passing only works with the AFS kaserver |
66 | #KerberosTgtPassing no | |
3f1168a9 | 67 | |
87606687 JB |
68 | # Set this to 'yes' to enable PAM keyboard-interactive authentication |
69 | # Warning: enabling this may bypass the setting of 'PasswordAuthentication' | |
70 | #PAMAuthenticationViaKbdInt yes | |
71 | ||
72 | X11Forwarding no | |
73 | X11DisplayOffset 10 | |
74 | X11UseLocalhost yes | |
75 | PrintMotd yes | |
76 | #PrintLastLog yes | |
77 | KeepAlive yes | |
20cf0130 | 78 | UseLogin no |
87606687 JB |
79 | #UsePrivilegeSeparation yes |
80 | #Compression yes | |
81 | ||
82 | #MaxStartups 10 | |
83 | # no default banner path | |
84 | #Banner /some/path | |
85 | #VerifyReverseMapping no | |
86 | ||
87 | # override default of no subsystems | |
88 | #Subsystem sftp /usr/lib/openssh/sftp-server |