Skip to content

Instantly share code, notes, and snippets.

@vinhjaxt
Created November 28, 2023 15:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vinhjaxt/51d1a6ff39982c2ed4ef09fdf512b912 to your computer and use it in GitHub Desktop.
Save vinhjaxt/51d1a6ff39982c2ed4ef09fdf512b912 to your computer and use it in GitHub Desktop.
curl -Lo cloudflared https://github.com/cloudflare/cloudflared/releases/download/2023.10.0/cloudflared-linux-amd64
chmod +x cloudflared
./cloudflared --url ssh://127.0.0.1:22
cloudflared access ssh --hostname uncertainty-saints-newark-martin.trycloudflare.com --url 127.0.0.1:2222
ssh root@127.0.0.1 -p 2222
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment