Skip to content

Commit 2029edd

Browse files
committed
upstream: Use supported hostkeyalgorithms specifically in
sshd_config instead of supported key types, which is almost but not completely correct. OpenBSD-Regress-ID: 43c3b348576900f3e710bff5d6a87f0e803c5b3d
1 parent ff254f6 commit 2029edd

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

regress/keyscan.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
# $OpenBSD: keyscan.sh,v 1.13 2020/01/22 07:31:27 dtucker Exp $
1+
# $OpenBSD: keyscan.sh,v 1.14 2026/04/27 05:49:41 dtucker Exp $
22
# Placed in the Public Domain.
33

44
tid="keyscan"
55

6-
for i in $SSH_KEYTYPES; do
6+
# Enable all supported host key algos.
7+
algs=""
8+
for i in `$SSH -Q HostKeyAlgorithms`; do
79
if [ -z "$algs" ]; then
810
algs="$i"
911
else

0 commit comments

Comments
 (0)