Skip to content

update SSH2 to support modern Node versions, add a debug_ssh2 option - #145

Open
Xfennec wants to merge 3 commits into
israelroldan:masterfrom
Xfennec:master
Open

update SSH2 to support modern Node versions, add a debug_ssh2 option #145
Xfennec wants to merge 3 commits into
israelroldan:masterfrom
Xfennec:master

Conversation

@Xfennec

@Xfennec Xfennec commented Mar 17, 2025

Copy link
Copy Markdown

With Node v22, tasks silently fails:

[…]
DEBUG: Checking host key format
DEBUG: Checking signature format
DEBUG: Verifying host fingerprint
DEBUG: Host accepted by default (no verification)
DEBUG: Verifying signature
DEBUG: Signature could not be verified
DEBUG: Outgoing: Writing DISCONNECT (KEY_EXCHANGE_FAILED)
Connection :: end

Updating to the latest ssh2 release fixes this issue (and probably many others). I've also added a debug_ssh2 boolean setting to help diagnose such issues.

I've published a grunt-ssh-xf npm package with this patch, if anyone wants a quick fix for this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant