Command
yaml
type: "io.kestra.plugin.fs.ssh.Command"
Send a command to a remote server using SSH.
Examples
yaml
id: "command"
type: "io.kestra.plugin.fs.ssh.Command"
host: localhost
port: 22
username: foo
password: pass
command: ls
Properties
commands
- Type: array
- SubType: string
- Dynamic: ✔️
- Required: ✔️
- Min items:
1
The list of commands to run on the remote server
host
- Type: string
- Dynamic: ✔️
- Required: ✔️
Hostname of the remote server
password
- Type: string
- Dynamic: ✔️
- Required: ❌
Password on the remote server
port
- Type: string
- Dynamic: ✔️
- Required: ❌
- Default:
22
Port of the remote server
strictHostKeyChecking
- Type: string
- Dynamic: ❌
- Required: ❌
- Default:
no
Whether to check if the host public key could be found among known host, one of 'yes', 'no', 'ask'
username
- Type: string
- Dynamic: ✔️
- Required: ❌
Username on the remote server