Starts an SSH tunnel in the background and checks if it is usable. Can be used in a Github action e.g. in order to connect to a Postgres instance that is only reachable via SSH.
You need to set the following env variables
Variable | Description |
---|---|
SSH_TUNNEL_HOST |
The hostname of the machine, e.g. example.com |
SSH_TUNNEL_PORT |
The SSH port you want to connect to (e.g. 22 ) |