portmytech/SSH Remote Commands
Executing remote ssh commands
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Dec 2, 2024
- License
- MIT
Pinned Snippet
uses: portmytech/appleboy-ssh-action@0ff4204d59e8e51228ff73bce53f80d53301dee2 # v1.2.5tags 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. | — | — |
| protocol | The IP protocol to use. Valid values are "tcp". "tcp4" or "tcp6". Default to tcp. | — | tcp |
| 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_protocol | The IP protocol to use. Valid values are "tcp". "tcp4" or "tcp6". Default to tcp. | — | tcp |
| 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_path | Path to the file containing commands to be executed. | — | — |
| 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. | — | — |
| request_pty | Request a pseudo-terminal from the server. | — | — |
Outputs
no outputs