hermanverschooten/SSH Copy Command
Copy a file over ssh, then run a command over the same connection.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| ssh_private_key | SSH Private key | yes | — |
| remote_host | Remote host | yes | — |
| remote_user | Remote user | yes | — |
| remote_port | Remote port | no | 22 |
| source | Source directory/file | yes | "" |
| target | Target directory/file | no | /home/REMOTE_USER/ |
| scp_args | extra argumenst for scp | no | -4 |
| cmd_args | extra arguments for ssh command | no | -4 |
| cmd | command to run on the remote server after the copy succeeds | yes | — |
Outputs
no outputs