Skip to content

SSH

Docker Image SizeLicenseGit Repository

Executes remote shell scripts.

If no script file is specified with SCRIPT, input is used to specify the commands to be executed, e.g.:

yaml
params:
  ENV_SOME_VAR: test
input: |
  echo $SOME_VAR
  cat /etc/*-release

Params

ParamDescription
SSH_LOGIN_USERSSH user (string)
SSH_LOGIN_PASSWORDSSH password (string)
SSH_LOGIN_KEYSSH private key file (string)
HOSTHost to connect to (string)
PORTCustom port to connect to (string)
SSH_OPTIONSAdditional SSH options (e.g. -o Option1=value -o Option2=value) (string)
SCRIPTScript file to be executed (or - for stdin) (default: -) (string | "-")
ENV_<name>Variables to be forwarded to the remote host (string)