diff options
author | kris <kris@FreeBSD.org> | 2000-08-23 09:47:25 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-08-23 09:47:25 +0000 |
commit | 3ae96063415d4d28794d6bed936934349669f439 (patch) | |
tree | 869c056f1f7eed87ff318cf8931be44a42e09812 /crypto | |
parent | aba57a02e85fdc43b0afab2cd3dc4b2c1f6ce808 (diff) | |
download | FreeBSD-src-3ae96063415d4d28794d6bed936934349669f439.zip FreeBSD-src-3ae96063415d4d28794d6bed936934349669f439.tar.gz |
Increase the default value of LoginGraceTime from 60 seconds to 120
seconds.
PR: 20488
Submitted by: rwatson
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/openssh/servconf.c | 2 | ||||
-rw-r--r-- | crypto/openssh/sshd.8 | 2 | ||||
-rw-r--r-- | crypto/openssh/sshd_config | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/crypto/openssh/servconf.c b/crypto/openssh/servconf.c index b3d78f7..8d37e10 100644 --- a/crypto/openssh/servconf.c +++ b/crypto/openssh/servconf.c @@ -99,7 +99,7 @@ fill_default_server_options(ServerOptions *options) if (options->server_key_bits == -1) options->server_key_bits = 768; if (options->login_grace_time == -1) - options->login_grace_time = 60; + options->login_grace_time = 120; if (options->key_regeneration_time == -1) options->key_regeneration_time = 3600; if (options->permit_root_login == -1) diff --git a/crypto/openssh/sshd.8 b/crypto/openssh/sshd.8 index 87add4d..f5ad343 100644 --- a/crypto/openssh/sshd.8 +++ b/crypto/openssh/sshd.8 @@ -452,7 +452,7 @@ options must precede this option. The server disconnects after this time if the user has not successfully logged in. If the value is 0, there is no time limit. -The default is 60 (seconds). +The default is 120 (seconds). .It Cm LogLevel Gives the verbosity level that is used when logging messages from .Nm sshd . diff --git a/crypto/openssh/sshd_config b/crypto/openssh/sshd_config index 46ebc1f..e1fbe8e 100644 --- a/crypto/openssh/sshd_config +++ b/crypto/openssh/sshd_config @@ -9,7 +9,7 @@ Port 22 HostKey /etc/ssh/ssh_host_key HostDsaKey /etc/ssh/ssh_host_dsa_key ServerKeyBits 768 -LoginGraceTime 60 +LoginGraceTime 120 KeyRegenerationInterval 3600 PermitRootLogin no # Rate-limit sshd connections to 5 connections per 10 seconds |