SSH Workflow Improvement

Describe the problem/error/question

Feature Request Issue: In N8N 1.76.1, I see there is a SSH Node and that’s it. SSH Node is great if I want to execute just one command but what if I have several? I’d have to create SSH Nodes for each of them. The system would then have to connect to host via SSH multiple times. It would be amazing if instead of an SSH Node, you had something similar to WebHook and Respond to WebHook like a SSHHook and Close SSHHook with support for a single command execution.

Bug Issue: Not all SSH Connections require changing into a working directory. Some systems are running programs other than Bash.

What is the error message (if any)?

Feature Issue: Performance problem no error message.

Bug Issue: Because my host is running RShell, it expects to get the command right away, I believe the SSH Node is trying to change directory and am getting the following error output because cd isn’t a supported command:
“stdout”: “Status=‘1,Invalid-Command’”,

Please share your workflow

Share the output returned by the last node

[

{

“code”: 1,

“signal”: null,

“stdout”: “Status=‘1,Invalid-Command’”,

“stderr”: “”

}

]

Information on your n8n setup

  • n8n version: 1.76.1
  • Database (default: SQLite): local-ai-packaged-postgres-1
  • n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker on Windows Desktop
  • Operating system: Windows 11

Hi @Daniel_Cohen,

Welcome to the community! I’m moving this to the Feature Request section :slight_smile: