summaryrefslogtreecommitdiff
path: root/usr.bin/ssh
diff options
context:
space:
mode:
authorKevin Steves <stevesk@cvs.openbsd.org>2002-08-21 19:38:07 +0000
committerKevin Steves <stevesk@cvs.openbsd.org>2002-08-21 19:38:07 +0000
commit4dc9d07a890481f3471a515bad0b4b4e45e7b134 (patch)
tree0cf35c0e0b4acc53b4bdb87799e06082f314d748 /usr.bin/ssh
parente526efe96ccf3f1a65d9c59f36fb42981802d89d (diff)
change LoginGraceTime default to 1 minute; ok mouring@ markus@
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r--usr.bin/ssh/servconf.c4
-rw-r--r--usr.bin/ssh/sshd.84
-rw-r--r--usr.bin/ssh/sshd_config4
-rw-r--r--usr.bin/ssh/sshd_config.54
4 files changed, 8 insertions, 8 deletions
diff --git a/usr.bin/ssh/servconf.c b/usr.bin/ssh/servconf.c
index 2beb82b1d64..a0a0fb6aa71 100644
--- a/usr.bin/ssh/servconf.c
+++ b/usr.bin/ssh/servconf.c
@@ -10,7 +10,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: servconf.c,v 1.113 2002/07/30 17:03:55 markus Exp $");
+RCSID("$OpenBSD: servconf.c,v 1.114 2002/08/21 19:38:06 stevesk Exp $");
#if defined(KRB4) || defined(KRB5)
#include <krb.h>
@@ -140,7 +140,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 == PERMIT_NOT_SET)
diff --git a/usr.bin/ssh/sshd.8 b/usr.bin/ssh/sshd.8
index 2849a8b4cd8..c195c959e51 100644
--- a/usr.bin/ssh/sshd.8
+++ b/usr.bin/ssh/sshd.8
@@ -34,7 +34,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $OpenBSD: sshd.8,v 1.189 2002/08/21 11:20:59 espie Exp $
+.\" $OpenBSD: sshd.8,v 1.190 2002/08/21 19:38:06 stevesk Exp $
.Dd September 25, 1999
.Dt SSHD 8
.Os
@@ -203,7 +203,7 @@ The default is
refuses to start if there is no configuration file.
.It Fl g Ar login_grace_time
Gives the grace time for clients to authenticate themselves (default
-600 seconds).
+60 seconds).
If the client fails to authenticate the user within
this many seconds, the server disconnects and exits.
A value of zero indicates no limit.
diff --git a/usr.bin/ssh/sshd_config b/usr.bin/ssh/sshd_config
index 7b01bbf5ed8..b2775a5ee7b 100644
--- a/usr.bin/ssh/sshd_config
+++ b/usr.bin/ssh/sshd_config
@@ -1,4 +1,4 @@
-# $OpenBSD: sshd_config,v 1.57 2002/07/30 17:03:55 markus Exp $
+# $OpenBSD: sshd_config,v 1.58 2002/08/21 19:38:06 stevesk Exp $
# This is the sshd server system-wide configuration file. See
# sshd_config(5) for more information.
@@ -30,7 +30,7 @@
# Authentication:
-#LoginGraceTime 600
+#LoginGraceTime 60
#PermitRootLogin yes
#StrictModes yes
diff --git a/usr.bin/ssh/sshd_config.5 b/usr.bin/ssh/sshd_config.5
index 947c339b8a9..a434e8f7897 100644
--- a/usr.bin/ssh/sshd_config.5
+++ b/usr.bin/ssh/sshd_config.5
@@ -34,7 +34,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $OpenBSD: sshd_config.5,v 1.9 2002/08/12 17:30:35 stevesk Exp $
+.\" $OpenBSD: sshd_config.5,v 1.10 2002/08/21 19:38:06 stevesk Exp $
.Dd September 25, 1999
.Dt SSHD_CONFIG 5
.Os
@@ -379,7 +379,7 @@ options must precede this option for non port qualified addresses.
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 .