diff options
author | Mark Murray <markm@FreeBSD.org> | 2000-02-24 15:29:42 +0000 |
---|---|---|
committer | Mark Murray <markm@FreeBSD.org> | 2000-02-24 15:29:42 +0000 |
commit | 42f71286cde4107ce6327244cc3c6442c5dc66a6 (patch) | |
tree | a55af7a5ec62a463f1847bf01916eba0477b9385 /crypto/openssh/sshd_config | |
parent | 8e3e42fe0766741af3f33bfb7d3b26594991bd07 (diff) | |
download | src-42f71286cde4107ce6327244cc3c6442c5dc66a6.tar.gz src-42f71286cde4107ce6327244cc3c6442c5dc66a6.zip |
Add the patches fom ports (QV: ports/security/openssh/patches/patch-*)
Notes
Notes:
svn path=/head/; revision=57432
Diffstat (limited to 'crypto/openssh/sshd_config')
-rw-r--r-- | crypto/openssh/sshd_config | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/crypto/openssh/sshd_config b/crypto/openssh/sshd_config index 0d4038420774..74652fdeb429 100644 --- a/crypto/openssh/sshd_config +++ b/crypto/openssh/sshd_config @@ -1,14 +1,17 @@ # This is ssh server systemwide configuration file. +# +# $FreeBSD$ Port 22 #ListenAddress 0.0.0.0 #ListenAddress :: -HostKey /etc/ssh_host_key +HostKey __PREFIX__/etc/ssh_host_key ServerKeyBits 768 -LoginGraceTime 600 +LoginGraceTime 60 KeyRegenerationInterval 3600 -PermitRootLogin yes -# +PermitRootLogin no +# Rate-limit sshd connections to 5 connections per 10 seconds +ConnectionsPerPeriod 5/10 # Don't read ~/.rhosts and ~/.shosts files IgnoreRhosts yes # Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication |