Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

SSH

proto.ssh · version 1 · Action · exec capability

Run commands and transfer files on a remote host over SSH.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0main

Credentials

SlotAccepted kindsRequired
sshPasswordproto.ssh_password
sshPrivateKeyproto.ssh_private_key

Parameters

NameTypeDefaultRequiredShown whenDescription
authenticationoptions"password"One of password, privateKey.
resourceoptions"command"One of command, file.
operationoptions"execute"One of execute, upload, download.
commandstringyesoperation = execute
cwdstring"/"operation = executeWorking Directory.
pathstringyesresource = fileRemote Path. Target directory for uploads, file path for downloads.
binaryPropertyNamestring"data"resource = fileBinary Field.
optionscollection
options.fileNamestringFile Name. Name of the uploaded file; defaults to the binary file name.

Import

Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.

Source typeVersion rangeStatusFixtures
n8n-nodes-base.ssh1unverified