From: djm Date: Fri, 14 Jun 2024 00:26:12 +0000 (+0000) Subject: don't redirect stderr for ssh-keyscan we expect to succeed X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=4f81f089470f22f370c9d130ad25cb599868260e;p=openbsd don't redirect stderr for ssh-keyscan we expect to succeed --- diff --git a/regress/usr.bin/ssh/penalty.sh b/regress/usr.bin/ssh/penalty.sh index ae37aaef8b1..0285f003696 100644 --- a/regress/usr.bin/ssh/penalty.sh +++ b/regress/usr.bin/ssh/penalty.sh @@ -44,7 +44,7 @@ sleep 8 ${SSH} -F $OBJ/ssh_config somehost true || fail "authfail not expired" verbose "penalty for no authentication" -${SSHKEYSCAN} -t ssh-ed25519 -p $PORT 127.0.0.1 >/dev/null 2>&1 || fatal "keyscan failed" +${SSHKEYSCAN} -t ssh-ed25519 -p $PORT 127.0.0.1 >/dev/null || fatal "keyscan failed" # Repeat attempt should be penalised ${SSHKEYSCAN} -t ssh-ed25519 -p $PORT 127.0.0.1 >/dev/null 2>&1 && fail "keyscan not rejected"