kangketikonlen/SSH-SCP-SSH Pipeline
Connect to a server to run commands, copy files, and run more commands, all in one action.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Aug 11, 2025
- License
- None
Pinned Snippet
uses: kangketikonlen/ssh-pipeline@44bede38524a3e12f047d7b4bed7d71280223dd3 # v0.0.3tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| host | Remote server hostname or IP address. | yes | — |
| port | SSH port on the remote server. | no | 22 |
| user | SSH username for the remote server. | yes | — |
| key | SSH private key to authenticate. (Use GitHub secrets!) | no | — |
| pass | SSH password to authenticate. (Use GitHub secrets!) | no | — |
| known_hosts | The public host key of the remote server to prevent MITM attacks. (Use GitHub secrets!) | yes | — |
| connect_timeout | Connection timeout. Use 's' for seconds, 'm' for minutes. Ex: '60s' or '1m'. | no | 30s |
| first_ssh | Multiline block of commands to run before the SCP transfer. | no | — |
| scp | Multiline block of files to copy. Format: 'local/path => remote/path' | no | — |
| last_ssh | Multiline block of commands to run after the SCP transfer. | no | — |
Outputs
no outputs