A GitHub Actions workflow that instantly spins up a remote SSH workspace — accessible from anywhere, anytime.
- Remote development from any device
- Running build scripts (e.g. kernel builds)
- Quick debugging in a clean Linux environment
| Resource | Spec |
|---|---|
| OS | Ubuntu (latest) |
| CPU | 2 cores |
| RAM | 7 GB |
| Storage | 14 GB |
| Max Duration | 6 hours |
- A GitHub account
- A terminal with SSH installed and cloudflared installed
To use this on your own account, fork this repository.
- Generate an SSH key pair on your local machine if you don't have one:
ssh-keygen -t ed25519 -N "" - Add your public key (
~/.ssh/id_ed25519.pub) as a repository secret namedSSH_PUBLIC_KEYunder Settings → Secrets and variables → Actions - Go to the Actions tab of your repository
- Select the SSH Debug Session workflow
- Click Run workflow
- Open the running job immediately and wait for the connect command to appear in the logs:
ssh-keygen -R action-sshd-cloudflared && echo '...' >> ~/.ssh/known_hosts && ssh -o ProxyCommand='cloudflared access tcp --hostname https://xxxx.trycloudflare.com' runner@action-sshd-cloudflared - Copy the full command into your local terminal to connect
The session uses action-sshd-cloudflared to provide end-to-end encrypted SSH access over a Cloudflare Tunnel. It stays alive for up to 6 hours.