summaryrefslogtreecommitdiff
path: root/regress/login-timeout.sh
diff options
context:
space:
mode:
Diffstat (limited to 'regress/login-timeout.sh')
-rw-r--r--regress/login-timeout.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/regress/login-timeout.sh b/regress/login-timeout.sh
index d73923b9c..d9b48f391 100644
--- a/regress/login-timeout.sh
+++ b/regress/login-timeout.sh
@@ -1,9 +1,11 @@
1# $OpenBSD: login-timeout.sh,v 1.5 2013/05/17 10:23:52 dtucker Exp $ 1# $OpenBSD: login-timeout.sh,v 1.6 2014/02/27 20:04:16 djm Exp $
2# Placed in the Public Domain. 2# Placed in the Public Domain.
3 3
4tid="connect after login grace timeout" 4tid="connect after login grace timeout"
5 5
6trace "test login grace with privsep" 6trace "test login grace with privsep"
7cp $OBJ/sshd_config $OBJ/sshd_config.orig
8grep -vi LoginGraceTime $OBJ/sshd_config.orig > $OBJ/sshd_config
7echo "LoginGraceTime 10s" >> $OBJ/sshd_config 9echo "LoginGraceTime 10s" >> $OBJ/sshd_config
8echo "MaxStartups 1" >> $OBJ/sshd_config 10echo "MaxStartups 1" >> $OBJ/sshd_config
9start_sshd 11start_sshd