Skip to content

mdelillo/ssh-server-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SSH Server Action

This action starts an SSH server and makes it available using ngrok. A free ngrok account will allow you to run a single SSH tunnel.

When the server is ready, you will see a message in your workflow output similar to the following:

To SSH to this runner: `ssh -i /path/to/private/key -p 11111 [email protected]`

Due to an issue with workflow output, you will only see the message if you were already viewing the workflow logs when the message was printed (or when the workflow finishes, but the server will no longer be running). In that case you can find the tunnel address on ngrok's status page.

Usage

See action.yml for a description of the options. A sample workflow showing how to run this action if a step fails can be found here.

steps:
- uses: mdelillo/ssh-server-action@v1
  with:
    ngrok-authtoken: "<your-ngrok-authtoken>"
    ssh-public-key: "ssh-rsa AAAAB3NzaC1yc2E..."

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published