From b4c242f5f66c694d874a5a137ffd6a9dbc1aebe7 Mon Sep 17 00:00:00 2001 From: Gavin <46635587+blue2cat@users.noreply.github.com> Date: Wed, 25 Mar 2026 16:03:01 -0700 Subject: [PATCH] Add missing comma in `sendExtInfo` - Missing comma in sendExtInfo could cause ecdsa-sha2-nistp521 and rsa-sha2-512 to be unusable. --- lib/protocol/Protocol.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/protocol/Protocol.js b/lib/protocol/Protocol.js index 73024881..73bc7f3b 100644 --- a/lib/protocol/Protocol.js +++ b/lib/protocol/Protocol.js @@ -2110,7 +2110,7 @@ function modesToBytes(modes) { function sendExtInfo(proto) { let serverSigAlgs = - 'ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521' + 'ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,' + 'rsa-sha2-512,rsa-sha2-256,ssh-rsa,ssh-dss'; if (eddsaSupported) serverSigAlgs = `ssh-ed25519,${serverSigAlgs}`;