Tutorial

SSH Automation: Execute Remote Commands in Your Workflows

SSH access is everywhere — cloud servers, on‑prem infrastructure, CI/CD pipelines, IoT gateways, and remote administration environments. The SSH Connector makes it incredibly easy to execute commands on remote machines inside your workflows, enabling automation across any Linux‑based system.

With the SSH Connector, you can run shell commands, capture output, handle errors, and integrate remote server operations directly into your automation pipelines.

Step 1: Connect to Your SSH Server

SSH provides secure remote access over TCP. Simply drag an SSH Command node onto the canvas and configure:

  • Host — e.g., server.example.com
  • Port — usually 22
  • Username — login user
  • Password — SSH password

The connector handles authentication, session creation, and command execution automatically.

Step 2: Execute a Remote Command

Use the SSH Command node to run any shell command on the remote server. You can specify:

  • command — e.g., ls -la /var/log
  • timeoutMs — maximum execution time

The node returns:

  • stdout — command output
  • stderr — error output
  • exitCode — process exit code

This is ideal for retrieving logs, checking system status, running scripts, or managing remote services.

Step 3: Automate Server Operations

Once SSH output enters your workflow, you can combine it with any other connector:

  • Parse logs or JSON responses
  • Send alerts via Slack or Telegram
  • Store results in Google Sheets or databases
  • Trigger downstream processing pipelines
  • Execute maintenance or deployment scripts

SSH becomes a powerful entry point into your automation ecosystem.

Step 4: Real Use Cases

With SSH automation, you can build workflows that:

  • Monitor server health
  • Restart services automatically
  • Deploy applications or updates
  • Collect logs from multiple machines
  • Run scheduled maintenance tasks

Remote command execution becomes reliable, secure, and fully automated.

What's Next?

Experiment with multi-step workflows, combine SSH commands with conditional logic, or build dashboards showing server activity. The SSH Connector gives you the tools to automate any remote command-driven process.

Nodlyn Assistant
Ask me anything about Nodlyn
Hi! 👋 I'm the Nodlyn assistant. Ask me about the product, workflow components, connectors, agent runtime, agent capabilities, deployment, and more. If I don't know an answer, I'll point you to our contact form.
Nodlyn Assistant
Ask me anything about Nodlyn
Hi! 👋 I'm the Nodlyn assistant. Ask me about the product, workflow components, connectors, agent runtime, agent capabilities, deployment, and more. If I don't know an answer, I'll point you to our contact form.