Description
ssh-action is a GitHub Action that runs commands on a remote server over SSH from a workflow. It is used in deployment and maintenance pipelines, where a job needs to log in to a server and run commands there. The README covers the main inputs: connection settings for the host, port and user, SSH command settings, proxy settings, and output variables that let later steps read what a command printed. It supports password authentication and private key authentication, and it has setup guides for generating RSA and ED25519 keys and notes on OpenSSH compatibility. Usage examples include running multiple commands, running commands from a file, targeting multiple hosts with different ports, running commands on hosts at the same time, passing environment variables to a shell script, and capturing command output. It also explains how to connect through a proxy or a jump host. The README includes a section on security best practices, which is worth reading before you set up keys or passwords. The project is public on GitHub.…
Highlights
- Runs remote SSH commands from GitHub Actions
- Password and private key authentication
- Multiple hosts and multiple commands
- Captures output for later workflow steps
- Proxy and jump host support
Ratings & Reviews
No ratings yet
Be the first to rate SSH Action.
People also visit
SSH Action FAQ
What does ssh-action do?
It is a GitHub Action that connects to remote servers over SSH and runs commands from a workflow.
Which authentication methods does it support?
Password authentication and private key authentication. The README includes setup steps for RSA and ED25519 keys.
Can it run commands on several servers?
Yes. The README has examples for multiple hosts, including different ports and synchronous execution across hosts.
Can I use the output in later steps?
Yes. The action provides output variables with the command output, and the README shows how to capture them.
Can it connect through a jump host?
Yes. The README covers proxy and jump host usage.
Is it open source?
Yes. The source is public on GitHub.
What are the best SSH Action alternatives?
Popular alternatives to SSH Action include SSH Agent, Github Keygen and Multi Runners. See all SSH Action alternatives




