[openssh-commits] [openssh] 04/04: upstream: don't redirect stderr for ssh-keyscan we expect to succeed

git+noreply at mindrot.org git+noreply at mindrot.org
Fri Jun 14 10:27:48 AEST 2024


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit 9f032a4dd17bf0ae6066223d82aa5e784285d987
Author: djm at openbsd.org <djm at openbsd.org>
AuthorDate: Fri Jun 14 00:26:12 2024 +0000

    upstream: don't redirect stderr for ssh-keyscan we expect to succeed
    
    OpenBSD-Regress-ID: 8878b8eb4e070ed2e343166d3eb86db4a08a216c
---
 regress/penalty.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/regress/penalty.sh b/regress/penalty.sh
index ae37aaef..0285f003 100644
--- a/regress/penalty.sh
+++ b/regress/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"

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list