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
- In Neblex open Connect › Connections and click New Connection.
- Search for SSH and give the connection a clear name.
- Fill in the fields. Secret values are encrypted and never shown again.
- 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.
| Field | What to enter |
|---|---|
| Connection setupRequired | |
| HostRequired | |
| PortOptional | Example: 22 |
| UsernameRequired | |
| AuthenticationRequired | |
| PasswordRequiredSecret | |
| Private keyRequiredSecret | Paste an OpenSSH, PKCS#8, or PEM private key. Encrypted keys use the optional passphrase below. |
| Private key passphraseOptionalSecret | |
| Sudo password (optional)OptionalSecret | Used 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 stringRequiredSecret | Paste a password-authenticated sftp:// or ssh:// connection string. Use Connection fields for private-key authentication. |
Use it in a flow
- Open a flow, open the node library and search for SSH.
- Drag it onto the canvas and choose an Operation and your connection.
- Map the operation's fields from earlier steps, or click Map with Matt.
- 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 commandrun | Execute a non-interactive remote command with optional text or byte-exact stdin and return bounded stdout, stderr, and exit status. |
Connection1
Test the SSH connectionping | Complete SSH transport, durable host-key verification, and user authentication without executing a remote command. |
Script6
Run a Bash scriptscript_bash | Pipe the statement editor's script to bash -s on the remote host. | |
Run a POSIX shell scriptscript_sh | Pipe the statement editor's script to sh -s on the remote host. | |
Run a PowerShell 7 scriptscript_powershell | Pipe the statement editor's script to non-interactive pwsh on the remote host. | |
Run a Python scriptscript_python | Pipe the statement editor's script to python3 on the remote host. | |
Run a Windows command scriptscript_cmd | Pipe the statement editor's command script to non-interactive cmd.exe. | |
Run a Windows PowerShell scriptscript_powershell_win | Pipe the statement editor's script to non-interactive Windows PowerShell 5.1. |