From 44de2297a46b2201075bbbe0fee6342f0129667b Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Tue, 11 Jul 2000 09:52:14 +0000 Subject: [PATCH] Sync LoginGraceTime with sshd_config = 60 seconds by default, not 600. --- crypto/openssh/servconf.c | 2 +- crypto/openssh/sshd.8 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/openssh/servconf.c b/crypto/openssh/servconf.c index 2788e0300505..c8538c6eaebc 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 = 600; + options->login_grace_time = 60; 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 1133b8894c3e..2ea4cf44955d 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 600 (seconds). +The default is 60 (seconds). .It Cm LogLevel Gives the verbosity level that is used when logging messages from .Nm sshd .