Created
January 13, 2016 15:34
-
-
Save hepto/8c2520626d3f43d8c6ab to your computer and use it in GitHub Desktop.
Tunnel to a VNC over SSH one command mac
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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