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.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/login-timeout.sh b/regress/login-timeout.sh
index ce6edade5..15a887f74 100644
--- a/regress/login-timeout.sh
+++ b/regress/login-timeout.sh
@@ -1,4 +1,4 @@
1# $OpenBSD: login-timeout.sh,v 1.3 2004/03/08 10:17:12 dtucker Exp $ 1# $OpenBSD: login-timeout.sh,v 1.4 2005/02/27 23:13:36 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"
@@ -8,7 +8,7 @@ echo "LoginGraceTime 10s" >> $OBJ/sshd_config
8echo "MaxStartups 1" >> $OBJ/sshd_config 8echo "MaxStartups 1" >> $OBJ/sshd_config
9start_sshd 9start_sshd
10 10
11(echo SSH-2.0-fake; sleep 60) | telnet localhost ${PORT} >/dev/null 2>&1 & 11(echo SSH-2.0-fake; sleep 60) | telnet 127.0.0.1 ${PORT} >/dev/null 2>&1 &
12sleep 15 12sleep 15
13${SSH} -F $OBJ/ssh_config somehost true 13${SSH} -F $OBJ/ssh_config somehost true
14if [ $? -ne 0 ]; then 14if [ $? -ne 0 ]; then
@@ -21,7 +21,7 @@ trace "test login grace without privsep"
21echo "UsePrivilegeSeparation no" >> $OBJ/sshd_config 21echo "UsePrivilegeSeparation no" >> $OBJ/sshd_config
22start_sshd 22start_sshd
23 23
24(echo SSH-2.0-fake; sleep 60) | telnet localhost ${PORT} >/dev/null 2>&1 & 24(echo SSH-2.0-fake; sleep 60) | telnet 127.0.0.1 ${PORT} >/dev/null 2>&1 &
25sleep 15 25sleep 15
26${SSH} -F $OBJ/ssh_config somehost true 26${SSH} -F $OBJ/ssh_config somehost true
27if [ $? -ne 0 ]; then 27if [ $? -ne 0 ]; then