From: dtucker@openbsd.org Date: Mon, 27 Apr 2026 05:49:41 +0000 (+0000) Subject: upstream: Use supported hostkeyalgorithms specifically in X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2029eddf4d57c654d53cdac7a192511de3b386dd;p=thirdparty%2Fopenssh-portable.git upstream: Use supported hostkeyalgorithms specifically in sshd_config instead of supported key types, which is almost but not completely correct. OpenBSD-Regress-ID: 43c3b348576900f3e710bff5d6a87f0e803c5b3d --- 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