diff options
author | Damien Miller <djm@mindrot.org> | 1999-11-13 23:56:35 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 1999-11-13 23:56:35 +1100 |
commit | 192bd0120af04477b5b18e5f6caef162219c1c12 (patch) | |
tree | 737dc1f7da3cb2d86bb0c6e64cfa2b6a0f57a0ac /sshd_config | |
parent | 2cb210f0f729082a2cd3eb8f0c71b85f216a7d2c (diff) |
- Tidied default config file some more
- Revised Redhat initscript to fix bug: sshd (re)start would fail
if executed from inside a ssh login.
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 |