upstream: Increase keyscan timeout from default. On slow hosts 3

concurrent keyscans can hit the default 5 second timeout, so increase to 15
seconds.

OpenBSD-Regress-ID: 16383dec166af369b7fb9948572856f5d544c93f
This commit is contained in:
dtucker@openbsd.org 2020-01-22 07:31:27 +00:00 committed by Darren Tucker
parent 6c30c9adbe
commit 8d3af6ebdf
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: keyscan.sh,v 1.12 2019/12/16 02:39:05 djm Exp $
# $OpenBSD: keyscan.sh,v 1.13 2020/01/22 07:31:27 dtucker Exp $
# Placed in the Public Domain.
tid="keyscan"
@ -16,7 +16,7 @@ start_sshd
for t in $SSH_KEYTYPES; do
trace "keyscan type $t"
${SSHKEYSCAN} -t $t -p $PORT 127.0.0.1 127.0.0.1 127.0.0.1 \
${SSHKEYSCAN} -t $t -T 15 -p $PORT 127.0.0.1 127.0.0.1 127.0.0.1 \
> /dev/null 2>&1
r=$?
if [ $r -ne 0 ]; then