SSH node is not working

SSH node is not working. Error: “Timed out while waiting for handshake”

{
  "errorMessage": "Timed out while waiting for handshake",
  "errorDetails": {},
  "n8nDetails": {
    "n8nVersion": "1.84.3 (Cloud)",
    "binaryDataMode": "filesystem",
    "stackTrace": [
      "Error: Timed out while waiting for handshake",
      "    at Timeout._onTimeout (/usr/local/lib/node_modules/n8n/node_modules/ssh2/lib/client.js:1116:23)",
      "    at listOnTimeout (node:internal/timers:581:17)",
      "    at processTimers (node:internal/timers:519:7)"
    ]
  }
}

I am trying to connect to my router via SSH node to process commands using Telegram bot.
I can connect to my router via SSH over the Internet. So there is access.
(I use correct IP/name/pass)

Hi,

is it possible to run a manual test from the node that is actually trying to make the SSH connection?

Regards
J.

Couldn’t connect with these settings

Retry
SSH connection failed: Timed out while waiting for handshake

hi, is there some debugging output you can turn on ? May upgrade the client etc? It should work on the command-line before you try to automate it.

Is it only on this specific network node or all?

Reg,
J.

There are no more node settings.

Where are you running n8n? self-hosted? what i meant is you ssh into the main n8n instance or a worker and try the ssh commands directly from the command-line.

I use n8n.cloud

sorry yes, it shows. i missed that. does it work on any host you have tried ? can you share us your workflow ?

I don’t now how

Ctrl-c/ctrl-v you workflow from your web interface and place it in a code comment on the forum. it will become interactive. please share also credentials, but remove password.

1 Like

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