Skip to content

Commit

Permalink
upstream: don't redirect stderr for ssh-keyscan we expect to succeed
Browse files Browse the repository at this point in the history
OpenBSD-Regress-ID: 8878b8eb4e070ed2e343166d3eb86db4a08a216c
  • Loading branch information
djmdjm committed Jun 14, 2024
1 parent 1e84d0c commit 9f032a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion regress/penalty.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 9f032a4

Please sign in to comment.