SSH

Connect to remote servers via SSH

Configuration

Execute Command

Operation
Execute Command
Host*
example.com or 192.168.1.100
Port
22
Username*
ubuntu, root, or deploy
Authentication Method
Select...
Password
••••••••
Private Key
plaintext
-----BEGIN OPENSSH PRIVATE KEY-----\n...
Passphrase
••••••••
Command*
plaintext
ls -la /var/www
Working Directory
/var/www/html (optional)
Execute Command (ssh_execute_command)

Execute a shell command on a remote SSH server

Input
ParameterTypeRequiredDescription
hoststringYesSSH server hostname or IP address
portnumberYesSSH server port (default: 22)
usernamestringYesSSH username
passwordstringNoPassword for authentication (if not using private key)
privateKeystringNoPrivate key for authentication (OpenSSH format)
passphrasestringNoPassphrase for encrypted private key
commandstringYesShell command to execute on the remote server
workingDirectorystringNoWorking directory for command execution
Output
ParameterTypeDescription
stdoutstringStandard output from command
stderrstringStandard error output
exitCodenumberCommand exit code
successbooleanWhether command succeeded (exit code 0)

Execute Script

Operation
Execute Script
Host*
example.com or 192.168.1.100
Port
22
Username*
ubuntu, root, or deploy
Authentication Method
Select...
Password
••••••••
Private Key
plaintext
-----BEGIN OPENSSH PRIVATE KEY-----\n...
Passphrase
••••••••
Script Content*
plaintext
#!/bin/bash\necho "Hello World"
Interpreter
/bin/bash
Working Directory
/var/www/html (optional)
Execute Script (ssh_execute_script)

Upload and execute a multi-line script on a remote SSH server

Input
ParameterTypeRequiredDescription
hoststringYesSSH server hostname or IP address
portnumberYesSSH server port (default: 22)
usernamestringYesSSH username
passwordstringNoPassword for authentication (if not using private key)
privateKeystringNoPrivate key for authentication (OpenSSH format)
passphrasestringNoPassphrase for encrypted private key
scriptstringYesScript content to execute (bash, python, etc.)
interpreterstringNoScript interpreter (default: /bin/bash)
workingDirectorystringNoWorking directory for script execution
Output
ParameterTypeDescription
stdoutstringStandard output from script
stderrstringStandard error output
exitCodenumberScript exit code
successbooleanWhether script succeeded (exit code 0)
scriptPathstringTemporary path where script was uploaded

Check Command Exists

Operation
Check Command Exists
Host*
example.com or 192.168.1.100
Port
22
Username*
ubuntu, root, or deploy
Authentication Method
Select...
Password
••••••••
Private Key
plaintext
-----BEGIN OPENSSH PRIVATE KEY-----\n...
Passphrase
••••••••
Command Name*
docker, git, python3
Check Command Exists (ssh_check_command_exists)

Check if a command/program exists on the remote SSH server

Input
ParameterTypeRequiredDescription
hoststringYesSSH server hostname or IP address
portnumberYesSSH server port (default: 22)
usernamestringYesSSH username
passwordstringNoPassword for authentication (if not using private key)
privateKeystringNoPrivate key for authentication (OpenSSH format)
passphrasestringNoPassphrase for encrypted private key
commandNamestringYesCommand name to check (e.g., docker, git, python3)
Output
ParameterTypeDescription
commandExistsbooleanWhether the command exists
commandPathstringFull path to the command (if found)
versionstringCommand version output (if applicable)

Upload File

Operation
Upload File
Host*
example.com or 192.168.1.100
Port
22
Username*
ubuntu, root, or deploy
Authentication Method
Select...
Password
••••••••
Private Key
plaintext
-----BEGIN OPENSSH PRIVATE KEY-----\n...
Passphrase
••••••••
File Content*
plaintext
Content to upload...
File Name*
config.json
Remote Path*
/var/www/html/config.json
Permissions
0644
Upload File (ssh_upload_file)

Upload a file to a remote SSH server

Input
ParameterTypeRequiredDescription
hoststringYesSSH server hostname or IP address
portnumberYesSSH server port (default: 22)
usernamestringYesSSH username
passwordstringNoPassword for authentication (if not using private key)
privateKeystringNoPrivate key for authentication (OpenSSH format)
passphrasestringNoPassphrase for encrypted private key
fileContentstringYesFile content to upload (base64 encoded for binary files)
fileNamestringYesName of the file being uploaded
remotePathstringYesDestination path on the remote server
permissionsstringNoFile permissions (e.g., 0644)
overwritebooleanNoWhether to overwrite existing files (default: true)
Output
ParameterTypeDescription
uploadedbooleanWhether the file was uploaded successfully
remotePathstringFinal path on the remote server
sizenumberFile size in bytes

Download File

Operation
Download File
Host*
example.com or 192.168.1.100
Port
22
Username*
ubuntu, root, or deploy
Authentication Method
Select...
Password
••••••••
Private Key
plaintext
-----BEGIN OPENSSH PRIVATE KEY-----\n...
Passphrase
••••••••
Remote File Path*
/var/log/app.log
Download File (ssh_download_file)

Download a file from a remote SSH server

Input
ParameterTypeRequiredDescription
hoststringYesSSH server hostname or IP address
portnumberYesSSH server port (default: 22)
usernamestringYesSSH username
passwordstringNoPassword for authentication (if not using private key)
privateKeystringNoPrivate key for authentication (OpenSSH format)
passphrasestringNoPassphrase for encrypted private key
remotePathstringYesPath of the file on the remote server
Output
ParameterTypeDescription
downloadedbooleanWhether the file was downloaded successfully
fileContentstringFile content (base64 encoded for binary files)
fileNamestringName of the downloaded file
remotePathstringSource path on the remote server
sizenumberFile size in bytes

List Directory

Operation
List Directory
Host*
example.com or 192.168.1.100
Port
22
Username*
ubuntu, root, or deploy
Authentication Method
Select...
Password
••••••••
Private Key
plaintext
-----BEGIN OPENSSH PRIVATE KEY-----\n...
Passphrase
••••••••
Directory Path*
/var/www
Show Details
Disabled
List Directory (ssh_list_directory)

List files and directories in a remote directory

Input
ParameterTypeRequiredDescription
hoststringYesSSH server hostname or IP address
portnumberYesSSH server port (default: 22)
usernamestringYesSSH username
passwordstringNoPassword for authentication (if not using private key)
privateKeystringNoPrivate key for authentication (OpenSSH format)
passphrasestringNoPassphrase for encrypted private key
pathstringYesRemote directory path to list
detailedbooleanNoInclude file details (size, permissions, modified date)
recursivebooleanNoList subdirectories recursively (default: false)
Output
ParameterTypeDescription
namestringFile or directory name
typestringEntry type (file, directory, symlink)
sizenumberFile size in bytes
permissionsstringFile permissions

Check File/Directory Exists

Operation
Check File/Directory Exists
Host*
example.com or 192.168.1.100
Port
22
Username*
ubuntu, root, or deploy
Authentication Method
Select...
Password
••••••••
Private Key
plaintext
-----BEGIN OPENSSH PRIVATE KEY-----\n...
Passphrase
••••••••
Path to Check*
/etc/nginx/nginx.conf
Expected Type
Select...
Check File/Directory Exists (ssh_check_file_exists)

Check if a file or directory exists on the remote SSH server

Input
ParameterTypeRequiredDescription
hoststringYesSSH server hostname or IP address
portnumberYesSSH server port (default: 22)
usernamestringYesSSH username
passwordstringNoPassword for authentication (if not using private key)
privateKeystringNoPrivate key for authentication (OpenSSH format)
passphrasestringNoPassphrase for encrypted private key
pathstringYesRemote file or directory path to check
typestringNoExpected type: file, directory, or any (default: any)
Output
ParameterTypeDescription
existsbooleanWhether the path exists
typestringType of path (file, directory, symlink, not_found)
sizenumberFile size if it is a file
permissionsstringFile permissions (e.g., 0755)
modifiedstringLast modified timestamp

Create Directory

Operation
Create Directory
Host*
example.com or 192.168.1.100
Port
22
Username*
ubuntu, root, or deploy
Authentication Method
Select...
Password
••••••••
Private Key
plaintext
-----BEGIN OPENSSH PRIVATE KEY-----\n...
Passphrase
••••••••
Directory Path*
/var/www/new-site
Create Parent Directories
Enabled
Create Directory (ssh_create_directory)

Create a directory on the remote SSH server

Input
ParameterTypeRequiredDescription
hoststringYesSSH server hostname or IP address
portnumberYesSSH server port (default: 22)
usernamestringYesSSH username
passwordstringNoPassword for authentication (if not using private key)
privateKeystringNoPrivate key for authentication (OpenSSH format)
passphrasestringNoPassphrase for encrypted private key
pathstringYesDirectory path to create
recursivebooleanNoCreate parent directories if they do not exist (default: true)
permissionsstringNoDirectory permissions (default: 0755)
Output
ParameterTypeDescription
createdbooleanWhether the directory was created successfully
remotePathstringCreated directory path
alreadyExistsbooleanWhether the directory already existed

Delete File/Directory

Operation
Delete File/Directory
Host*
example.com or 192.168.1.100
Port
22
Username*
ubuntu, root, or deploy
Authentication Method
Select...
Password
••••••••
Private Key
plaintext
-----BEGIN OPENSSH PRIVATE KEY-----\n...
Passphrase
••••••••
Path to Delete*
/tmp/old-file.txt
Recursive Delete
Disabled
Force Delete
Disabled
Delete File/Directory (ssh_delete_file)

Delete a file or directory from the remote SSH server

Input
ParameterTypeRequiredDescription
hoststringYesSSH server hostname or IP address
portnumberYesSSH server port (default: 22)
usernamestringYesSSH username
passwordstringNoPassword for authentication (if not using private key)
privateKeystringNoPrivate key for authentication (OpenSSH format)
passphrasestringNoPassphrase for encrypted private key
pathstringYesPath to delete
recursivebooleanNoRecursively delete directories (default: false)
forcebooleanNoForce deletion without confirmation (default: false)
Output
ParameterTypeDescription
deletedbooleanWhether the path was deleted successfully
remotePathstringDeleted path

Move/Rename

Operation
Move/Rename
Host*
example.com or 192.168.1.100
Port
22
Username*
ubuntu, root, or deploy
Authentication Method
Select...
Password
••••••••
Private Key
plaintext
-----BEGIN OPENSSH PRIVATE KEY-----\n...
Passphrase
••••••••
Source Path*
/var/www/old-name
Destination Path*
/var/www/new-name
Overwrite if Exists
Disabled
Move/Rename (ssh_move_rename)

Move or rename a file or directory on the remote SSH server

Input
ParameterTypeRequiredDescription
hoststringYesSSH server hostname or IP address
portnumberYesSSH server port (default: 22)
usernamestringYesSSH username
passwordstringNoPassword for authentication (if not using private key)
privateKeystringNoPrivate key for authentication (OpenSSH format)
passphrasestringNoPassphrase for encrypted private key
sourcePathstringYesCurrent path of the file or directory
destinationPathstringYesNew path for the file or directory
overwritebooleanNoOverwrite destination if it exists (default: false)
Output
ParameterTypeDescription
movedbooleanWhether the operation was successful
sourcePathstringOriginal path
destinationPathstringNew path

Get System Info

Operation
Get System Info
Host*
example.com or 192.168.1.100
Port
22
Username*
ubuntu, root, or deploy
Authentication Method
Select...
Password
••••••••
Private Key
plaintext
-----BEGIN OPENSSH PRIVATE KEY-----\n...
Passphrase
••••••••
Get System Info (ssh_get_system_info)

Retrieve system information from the remote SSH server

Input
ParameterTypeRequiredDescription
hoststringYesSSH server hostname or IP address
portnumberYesSSH server port (default: 22)
usernamestringYesSSH username
passwordstringNoPassword for authentication (if not using private key)
privateKeystringNoPrivate key for authentication (OpenSSH format)
passphrasestringNoPassphrase for encrypted private key
Output
ParameterTypeDescription
hostnamestringServer hostname
osstringOperating system (e.g., Linux, Darwin)
architecturestringCPU architecture (e.g., x64, arm64)
uptimenumberSystem uptime in seconds
memoryjsonMemory information (total, free, used)
diskSpacejsonDisk space information (total, free, used)

Read File Content

Operation
Read File Content
Host*
example.com or 192.168.1.100
Port
22
Username*
ubuntu, root, or deploy
Authentication Method
Select...
Password
••••••••
Private Key
plaintext
-----BEGIN OPENSSH PRIVATE KEY-----\n...
Passphrase
••••••••
File Path*
/var/log/app.log
Encoding
utf-8
Max Size (MB)
10
Read File Content (ssh_read_file_content)

Read the contents of a remote file

Input
ParameterTypeRequiredDescription
hoststringYesSSH server hostname or IP address
portnumberYesSSH server port (default: 22)
usernamestringYesSSH username
passwordstringNoPassword for authentication (if not using private key)
privateKeystringNoPrivate key for authentication (OpenSSH format)
passphrasestringNoPassphrase for encrypted private key
pathstringYesRemote file path to read
encodingstringNoFile encoding (default: utf-8)
maxSizenumberNoMaximum file size to read in MB (default: 10)
Output
ParameterTypeDescription
contentstringFile content as string
sizenumberFile size in bytes
linesnumberNumber of lines in file
remotePathstringRemote file path

Write File Content

Operation
Write File Content
Host*
example.com or 192.168.1.100
Port
22
Username*
ubuntu, root, or deploy
Authentication Method
Select...
Password
••••••••
Private Key
plaintext
-----BEGIN OPENSSH PRIVATE KEY-----\n...
Passphrase
••••••••
File Path*
/etc/config.json
File Content*
plaintext
Content to write...
Write Mode
Select...
Permissions
0644
Write File Content (ssh_write_file_content)

Write or append content to a remote file

Input
ParameterTypeRequiredDescription
hoststringYesSSH server hostname or IP address
portnumberYesSSH server port (default: 22)
usernamestringYesSSH username
passwordstringNoPassword for authentication (if not using private key)
privateKeystringNoPrivate key for authentication (OpenSSH format)
passphrasestringNoPassphrase for encrypted private key
pathstringYesRemote file path to write to
contentstringYesContent to write to the file
modestringNoWrite mode: overwrite, append, or create (default: overwrite)
permissionsstringNoFile permissions (e.g., 0644)
Output
ParameterTypeDescription
writtenbooleanWhether the file was written successfully
remotePathstringFile path
sizenumberFinal file size in bytes

Usage Instructions

Execute commands, transfer files, and manage remote servers via SSH. Supports password and private key authentication for secure server access.

Notes

  • Category: tools
  • Type: ssh