brian-kiplagat/SSH Remote Commands
Executing remote ssh commands
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Oct 2, 2025
- License
- None
Pinned Snippet
uses: brian-kiplagat/portfolio@89f34d86f9f21e5012bdab9e34e9d3f1a2e12a6c # no releases — HEAD as of 2026-07-13tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| host | SSH host address. | — | — |
| port | SSH port number. | — | 22 |
| passphrase | Passphrase for the SSH key. | — | — |
| username | SSH username. | — | — |
| password | SSH password. | — | — |
| sync | Enable synchronous execution if multiple hosts are involved. | — | — |
| use_insecure_cipher | Include more ciphers by using insecure ciphers. | — | — |
| cipher | Allowed cipher algorithms. If unspecified, a sensible default is used. | — | — |
| timeout | Timeout duration for establishing SSH connection to the host. | — | 30s |
| command_timeout | Timeout duration for SSH commands execution. | — | 10m |
| key | Content of the SSH private key. For example, the raw content of ~/.ssh/id_rsa. | — | — |
| key_path | Path to the SSH private key file. | — | — |
| fingerprint | SHA256 fingerprint of the host public key. | — | — |
| proxy_host | SSH proxy host address. | — | — |
| proxy_port | SSH proxy port number. | — | 22 |
| proxy_username | SSH proxy username. | — | — |
| proxy_password | SSH proxy password. | — | — |
| proxy_passphrase | SSH proxy key passphrase. | — | — |
| proxy_timeout | Timeout duration for establishing SSH connection to the proxy host. | — | 30s |
| proxy_key | Content of the SSH proxy private key. For example, the raw content of ~/.ssh/id_rsa. | — | — |
| proxy_key_path | Path to the SSH proxy private key file. | — | — |
| proxy_fingerprint | SHA256 fingerprint of the proxy host public key. | — | — |
| proxy_cipher | Allowed cipher algorithms for the proxy. If unspecified, a sensible default is used. | — | — |
| proxy_use_insecure_cipher | Include more ciphers for the proxy by using insecure ciphers. | — | — |
| script | Commands to be executed. | — | — |
| script_stop | Stop the script after the first failure. | — | — |
| envs | Environment variables to be passed to the shell script. | — | — |
| envs_format | Flexible configuration for environment value transfer. | — | — |
| debug | Enable debug mode. | — | — |
| allenvs | pass all environment variable to shell script. | — | — |
Outputs
no outputs