Skip to content

Instantly share code, notes, and snippets.

@hepto
Created January 13, 2016 15:34
Show Gist options
  • Save hepto/8c2520626d3f43d8c6ab to your computer and use it in GitHub Desktop.
Save hepto/8c2520626d3f43d8c6ab to your computer and use it in GitHub Desktop.
Tunnel to a VNC over SSH one command mac
ssh -f -L 5900:localhost:5900 user@server sleep 10; open vnc://127.0.0.1:5900
## the sleep 10 ensure it won't stay open after the VNC session is closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment