diff options
Diffstat (limited to 'sshd_config')
-rw-r--r-- | sshd_config | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/sshd_config b/sshd_config index ed9c391a3..ee6af5f8b 100644 --- a/sshd_config +++ b/sshd_config | |||
@@ -7,15 +7,6 @@ ServerKeyBits 768 | |||
7 | LoginGraceTime 600 | 7 | LoginGraceTime 600 |
8 | KeyRegenerationInterval 3600 | 8 | KeyRegenerationInterval 3600 |
9 | PermitRootLogin yes | 9 | PermitRootLogin yes |
10 | |||
11 | # | ||
12 | # Loglevel replaces QuietMode and FascistLogging | ||
13 | # | ||
14 | SyslogFacility AUTH | ||
15 | LogLevel INFO | ||
16 | |||
17 | # | ||
18 | # Don't read ~/.rhosts and ~/.shosts files | ||
19 | StrictModes yes | 10 | StrictModes yes |
20 | X11Forwarding no | 11 | X11Forwarding no |
21 | X11DisplayOffset 10 | 12 | X11DisplayOffset 10 |
@@ -23,8 +14,12 @@ PrintMotd yes | |||
23 | KeepAlive yes | 14 | KeepAlive yes |
24 | CheckMail no | 15 | CheckMail no |
25 | UseLogin no | 16 | UseLogin no |
17 | |||
18 | # | ||
19 | # Loglevel replaces QuietMode and FascistLogging | ||
20 | # | ||
26 | SyslogFacility AUTH | 21 | SyslogFacility AUTH |
27 | RhostsAuthentication no | 22 | LogLevel INFO |
28 | 23 | ||
29 | # | 24 | # |
30 | # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts | 25 | # For this to work you will also need host keys in /etc/ssh/ssh_known_hosts |
@@ -35,6 +30,7 @@ RhostsRSAAuthentication no | |||
35 | # Don't read ~/.rhosts and ~/.shosts files | 30 | # Don't read ~/.rhosts and ~/.shosts files |
36 | # | 31 | # |
37 | IgnoreRhosts yes | 32 | IgnoreRhosts yes |
33 | RhostsAuthentication no | ||
38 | 34 | ||
39 | # | 35 | # |
40 | # Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication | 36 | # Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication |