Skip to content

Instantly share code, notes, and snippets.

@meresmclr
Created August 26, 2016 18:26
Show Gist options
  • Save meresmclr/a97b6a99bda67cdc59c66d78e95582b0 to your computer and use it in GitHub Desktop.
Save meresmclr/a97b6a99bda67cdc59c66d78e95582b0 to your computer and use it in GitHub Desktop.
on laptop connect to remote PC where have already run startvnc.sh
#!/bin/sh
ssh -f -L 5901:localhost:5901 username@address sleep 1;
ssvncviewer localhost::5901
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment