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 ed9c391a..ee6af5f8 100644
--- a/sshd_config
+++ b/sshd_config
@@ -7,15 +7,6 @@ ServerKeyBits 768
LoginGraceTime 600
KeyRegenerationInterval 3600
PermitRootLogin yes
-
-#
-# Loglevel replaces QuietMode and FascistLogging
-#
-SyslogFacility AUTH
-LogLevel INFO
-
-#
-# Don't read ~/.rhosts and ~/.shosts files
StrictModes yes
X11Forwarding no
X11DisplayOffset 10
@@ -23,8 +14,12 @@ PrintMotd yes
KeepAlive yes
CheckMail no
UseLogin no
+
+#
+# Loglevel replaces QuietMode and FascistLogging
+#
SyslogFacility AUTH
-RhostsAuthentication no
+LogLevel INFO
#
# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
@@ -35,6 +30,7 @@ RhostsRSAAuthentication no
# Don't read ~/.rhosts and ~/.shosts files
#
IgnoreRhosts yes
+RhostsAuthentication no
#
# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication