[openssh-commits] [openssh] 09/09: upstream: Use supported hostkeyalgorithms specifically in

git+noreply at mindrot.org git+noreply at mindrot.org
Mon Apr 27 22:20:25 AEST 2026


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

dtucker pushed a commit to branch master
in repository openssh.

commit 2029eddf4d57c654d53cdac7a192511de3b386dd
Author: dtucker at openbsd.org <dtucker at openbsd.org>
AuthorDate: Mon Apr 27 05:49:41 2026 +0000

    upstream: Use supported hostkeyalgorithms specifically in
    
    sshd_config instead of supported key types, which is almost but not
    completely correct.
    
    OpenBSD-Regress-ID: 43c3b348576900f3e710bff5d6a87f0e803c5b3d
---
 regress/keyscan.sh | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/regress/keyscan.sh b/regress/keyscan.sh
index 75a14ee0e..411c8222f 100644
--- a/regress/keyscan.sh
+++ b/regress/keyscan.sh
@@ -1,9 +1,11 @@
-#	$OpenBSD: keyscan.sh,v 1.13 2020/01/22 07:31:27 dtucker Exp $
+#	$OpenBSD: keyscan.sh,v 1.14 2026/04/27 05:49:41 dtucker Exp $
 #	Placed in the Public Domain.
 
 tid="keyscan"
 
-for i in $SSH_KEYTYPES; do
+# Enable all supported host key algos.
+algs=""
+for i in `$SSH -Q HostKeyAlgorithms`; do
 	if [ -z "$algs" ]; then
 		algs="$i"
 	else

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


More information about the openssh-commits mailing list