core.ssh.execute_command
Execute a command over SSH and return stdout, stderr, and exit status.
Secrets
Required secrets:ssh: required valuesPRIVATE_KEY.
Inputs
string
required
Command to execute on the remote host.
string
required
SSH host to connect to.
string
required
Expected public host key for the target host in ā<key_type> <base64>ā format. For non-22 ports, the entry is stored as [host]:port.
string
required
SSH username.
string | null
Password for the SSH user.Default:
null.integer
SSH port. Defaults to 22.Default:
22.number
Timeout in seconds for connection and command execution.Default:
30.0.