Skip to content

Instantly share code, notes, and snippets.

@wolfgangmeyers
Created August 10, 2016 16:18
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 wolfgangmeyers/867a497b7e1f3dfb0e46d790216d1d15 to your computer and use it in GitHub Desktop.
Save wolfgangmeyers/867a497b7e1f3dfb0e46d790216d1d15 to your computer and use it in GitHub Desktop.
SSH tunnel templates
# SSH tunnel for RDP access
ssh -i <key> -f -N -L3389:localhost:3389 <user>@<host>
# SSH tunnel for x2go access
ssh -i <key> -f -N -L2222:localhost:22 <user>@<host>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment