ayesh/Run remote SSH command
Connect to a server over SSH, and run a command
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| ssh_key | SSH private key | yes | "" |
| ssh_host | SSH host to connect | — | — |
| ssh_port | SSH port to connect (defaults to 22) | no | 22 |
| ssh_username | SSH username to use (defaults to root) | no | root |
| command_cwd | Working directory to change to, before running the command | no | . |
| command | Command to run after connecting to the server over SSH | yes | — |
Outputs
| name | description |
|---|---|
| output | Command output |
| exit_code | Command exit code |