Connectors

Protocols & Custom Connectors

SSH

Remote shell access: run commands and scripts on servers over secure connections
Signs in with
Connection details
Runs on
Cloud or On-Prem Worker
Operations
8
Ready-made triggers
0

Connect SSH

  1. In Neblex open Connect › Connections and click New Connection.
  2. Search for SSH and give the connection a clear name.
  3. Fill in the fields. Secret values are encrypted and never shown again.
  4. Click Test, then Create Connection.
If the system is only reachable inside your network, choose an On-Prem Worker under Test from and run the flow on that Worker. See On-Prem Workers.
FieldWhat to enter
Connection setupRequired
HostRequired
PortOptionalExample: 22
UsernameRequired
AuthenticationRequired
PasswordRequiredSecret
Private keyRequiredSecretPaste an OpenSSH, PKCS#8, or PEM private key. Encrypted keys use the optional passphrase below.
Private key passphraseOptionalSecret
Sudo password (optional)OptionalSecretUsed only by explicitly elevated SSH operations. For password login this may be the same user password; key login normally needs this separate value. Root and passwordless-sudo accounts leave it blank.
Connection stringRequiredSecretPaste a password-authenticated sftp:// or ssh:// connection string. Use Connection fields for private-key authentication.

Use it in a flow

  1. Open a flow, open the node library and search for SSH.
  2. Drag it onto the canvas and choose an Operation and your connection.
  3. Map the operation's fields from earlier steps, or click Map with Matt.
  4. Use Test this step to see what it returns, then save.

To start a flow from SSH without a ready-made trigger: a Poll for changes trigger can check one of its list operations on a schedule and pass on only what is new; if SSH can send webhooks, a Webhook trigger receives them at its own URL.

Operations

8 operations in 3 groups. Each one is a step you can add to a flow.

Command1
Run a commandrunExecute a non-interactive remote command with optional text or byte-exact stdin and return bounded stdout, stderr, and exit status.
Connection1
Test the SSH connectionpingComplete SSH transport, durable host-key verification, and user authentication without executing a remote command.
Script6
Run a Bash scriptscript_bashPipe the statement editor's script to bash -s on the remote host.
Run a POSIX shell scriptscript_shPipe the statement editor's script to sh -s on the remote host.
Run a PowerShell 7 scriptscript_powershellPipe the statement editor's script to non-interactive pwsh on the remote host.
Run a Python scriptscript_pythonPipe the statement editor's script to python3 on the remote host.
Run a Windows command scriptscript_cmdPipe the statement editor's command script to non-interactive cmd.exe.
Run a Windows PowerShell scriptscript_powershell_winPipe the statement editor's script to non-interactive Windows PowerShell 5.1.