ssh: The client configuration keyword is "hostbasedacceptedalgorithms"
authornaddy <naddy@openbsd.org>
Sun, 23 May 2021 18:22:57 +0000 (18:22 +0000)
committernaddy <naddy@openbsd.org>
Sun, 23 May 2021 18:22:57 +0000 (18:22 +0000)
This fixes a mistake that slipped in when "HostbasedKeyTypes" was
renamed to "HostbasedAcceptedAlgorithms".

Bug report by zack@philomathiclife.com

usr.bin/ssh/readconf.c

index 8a8c778..448785b 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: readconf.c,v 1.353 2021/04/03 06:18:40 djm Exp $ */
+/* $OpenBSD: readconf.c,v 1.354 2021/05/23 18:22:57 naddy Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -294,7 +294,7 @@ static struct {
        { "revokedhostkeys", oRevokedHostKeys },
        { "fingerprinthash", oFingerprintHash },
        { "updatehostkeys", oUpdateHostkeys },
-       { "hostbasedalgorithms", oHostbasedAcceptedAlgorithms },
+       { "hostbasedacceptedalgorithms", oHostbasedAcceptedAlgorithms },
        { "hostbasedkeytypes", oHostbasedAcceptedAlgorithms }, /* obsolete */
        { "pubkeyacceptedalgorithms", oPubkeyAcceptedAlgorithms },
        { "pubkeyacceptedkeytypes", oPubkeyAcceptedAlgorithms }, /* obsolete */