summaryrefslogtreecommitdiff
path: root/sshd_config
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-11-13 23:56:35 +1100
committerDamien Miller <djm@mindrot.org>1999-11-13 23:56:35 +1100
commit192bd0120af04477b5b18e5f6caef162219c1c12 (patch)
tree737dc1f7da3cb2d86bb0c6e64cfa2b6a0f57a0ac /sshd_config
parent2cb210f0f729082a2cd3eb8f0c71b85f216a7d2c (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_config16
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
7LoginGraceTime 600 7LoginGraceTime 600
8KeyRegenerationInterval 3600 8KeyRegenerationInterval 3600
9PermitRootLogin yes 9PermitRootLogin yes
10
11#
12# Loglevel replaces QuietMode and FascistLogging
13#
14SyslogFacility AUTH
15LogLevel INFO
16
17#
18# Don't read ~/.rhosts and ~/.shosts files
19StrictModes yes 10StrictModes yes
20X11Forwarding no 11X11Forwarding no
21X11DisplayOffset 10 12X11DisplayOffset 10
@@ -23,8 +14,12 @@ PrintMotd yes
23KeepAlive yes 14KeepAlive yes
24CheckMail no 15CheckMail no
25UseLogin no 16UseLogin no
17
18#
19# Loglevel replaces QuietMode and FascistLogging
20#
26SyslogFacility AUTH 21SyslogFacility AUTH
27RhostsAuthentication no 22LogLevel 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#
37IgnoreRhosts yes 32IgnoreRhosts yes
33RhostsAuthentication 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