Skip to content

Instantly share code, notes, and snippets.

@y3nr1ng
Created March 20, 2022 22:44
Show Gist options
  • Save y3nr1ng/7f150bb1ad5be04bec02c07b479dfae6 to your computer and use it in GitHub Desktop.
Save y3nr1ng/7f150bb1ad5be04bec02c07b479dfae6 to your computer and use it in GitHub Desktop.
Sample SSH config for Cloudflare Argo tunnel
Host *.trycloudflare.*
Hostname %h
# This setup is originally used to connect Google Colab machine.
User root
Port 22
IdentityFile ~/.ssh/colab/id_ecdsa
# NOTE https://github.com/PowerShell/Win32-OpenSSH/issues/1185
# this limits to WIN-only connection, files are shared across WSL2 and host.
ProxyCommand C:/Users/Andy/.local/bin/cloudflared access ssh --hostname %h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment