summaryrefslogtreecommitdiff
path: root/sshd_config
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-06-09 01:09:51 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-06-09 01:09:51 +0000
commitc4b7225b8ddbc4932d5d4a63183b911a9f2a1d73 (patch)
treeb48b252d700ce32af3a490eda8355198986533a0 /sshd_config
parent3812ff5f415dc82800b922ed0f9e653eccef8142 (diff)
- markus@cvs.openbsd.org 2001/05/31 13:08:04
[sshd_config] group options and add some more comments
Diffstat (limited to 'sshd_config')
-rw-r--r--sshd_config49
1 files changed, 28 insertions, 21 deletions
diff --git a/sshd_config b/sshd_config
index 90df340a6..0e469300f 100644
--- a/sshd_config
+++ b/sshd_config
@@ -1,4 +1,4 @@
1# $OpenBSD: sshd_config,v 1.39 2001/05/20 17:20:36 markus Exp $ 1# $OpenBSD: sshd_config,v 1.40 2001/05/31 13:08:04 markus Exp $
2 2
3# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin 3# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin
4 4
@@ -9,41 +9,43 @@ Port 22
9#Protocol 2,1 9#Protocol 2,1
10#ListenAddress 0.0.0.0 10#ListenAddress 0.0.0.0
11#ListenAddress :: 11#ListenAddress ::
12
13# HostKey for protocol version 1
12HostKey /etc/ssh_host_key 14HostKey /etc/ssh_host_key
15# HostKeys for protocol version 2
13HostKey /etc/ssh_host_rsa_key 16HostKey /etc/ssh_host_rsa_key
14HostKey /etc/ssh_host_dsa_key 17HostKey /etc/ssh_host_dsa_key
15ServerKeyBits 768 18
16LoginGraceTime 600 19# Lifetime and size of ephemeral version 1 server key
17KeyRegenerationInterval 3600 20KeyRegenerationInterval 3600
18PermitRootLogin yes 21ServerKeyBits 768
19#
20# Don't read ~/.rhosts and ~/.shosts files
21IgnoreRhosts yes
22# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
23#IgnoreUserKnownHosts yes
24StrictModes yes
25X11Forwarding no
26X11DisplayOffset 10
27PrintMotd yes
28#PrintLastLog no
29KeepAlive yes
30 22
31# Logging 23# Logging
32SyslogFacility AUTH 24SyslogFacility AUTH
33LogLevel INFO 25LogLevel INFO
34#obsoletes QuietMode and FascistLogging 26#obsoletes QuietMode and FascistLogging
35 27
28# Authentication:
29
30LoginGraceTime 600
31PermitRootLogin yes
32StrictModes yes
33
34RSAAuthentication yes
35PubkeyAuthentication yes
36#AuthorizedKeysFile %h/.ssh/authorized_keys
37#AuthorizedKeysFile2 %h/.ssh/authorized_keys2
38
39# rhosts authentication should not be used
36RhostsAuthentication no 40RhostsAuthentication no
37# 41# Don't read the user's ~/.rhosts and ~/.shosts files
42IgnoreRhosts yes
38# For this to work you will also need host keys in /etc/ssh_known_hosts 43# For this to work you will also need host keys in /etc/ssh_known_hosts
39RhostsRSAAuthentication no 44RhostsRSAAuthentication no
40# similar for protocol version 2 45# similar for protocol version 2
41HostbasedAuthentication no 46HostbasedAuthentication no
42# 47# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
43RSAAuthentication yes 48#IgnoreUserKnownHosts yes
44PubkeyAuthentication yes
45#AuthorizedKeysFile %h/.ssh/authorized_keys
46#AuthorizedKeysFile2 %h/.ssh/authorized_keys2
47 49
48# To disable tunneled clear text passwords, change to no here! 50# To disable tunneled clear text passwords, change to no here!
49PasswordAuthentication yes 51PasswordAuthentication yes
@@ -65,6 +67,11 @@ PermitEmptyPasswords no
65# Kerberos TGT Passing does only work with the AFS kaserver 67# Kerberos TGT Passing does only work with the AFS kaserver
66#KerberosTgtPassing yes 68#KerberosTgtPassing yes
67 69
70X11Forwarding no
71X11DisplayOffset 10
72PrintMotd yes
73#PrintLastLog no
74KeepAlive yes
68#CheckMail yes 75#CheckMail yes
69#UseLogin no 76#UseLogin no
70 77