Handshake failed: no matching key exchange algorithm

I want to make an ssh connection to older device, but can’t seem to connect.

I know I need to use these algoritms to make the connection diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1.

How do I add them to the node or do I add them to a config file?

Handshake failed: no matching key exchange algorithm

Information on your n8n setup

  • n8n version: 1.83.2
  • n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • Running n8n via (Docker, npm, n8n cloud, desktop app): docker desktop
  • Operating system: windows 11

Hi,

I thinks this is more of an underlying OS / SSH / tool configuration which needs to be done independent of n8n or the execute command node. Not sure whether this is really an n8n question. the easiest way to test this is to login to the machine that should run the command and try to run and tweak it manually until you can connect. after that you can try to automate.

reg,
J.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.