Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/jaypyles/tailscale-ssh
- Owner: jaypyles
- Created: 2024-09-06T22:06:50.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-09-07T00:00:27.000Z (2 months ago)
- Last Synced: 2024-09-08T02:04:56.665Z (about 2 months ago)
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.