Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jaypyles/tailscale-ssh

Github Action to connect runner to tailnet, ssh into a machine, run a command, and exit.
https://github.com/jaypyles/tailscale-ssh

Last synced: 23 days ago
JSON representation

Github Action to connect runner to tailnet, ssh into a machine, run a command, and exit.

Awesome Lists containing this project

README

        

# tailscale-ssh

Github Action to connect runner to tailnet, ssh into a machine, run a command, and exit. Tailnet node cleaned up on exit.

Example usage:

```yaml
- name: Deploy
uses: jaypyles/[email protected]
with:
ts-oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
ts-oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
host: ${{ secrets.HOST }} # optional, default: 22
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
script: ${{ secrets.DEPLOY_COMMAND }}
tag: ${{ secrets.TAG }} # optional, default: ci
```

Must create a tag in your tailscale ACL file.