Guest User

Untitled

a guest
Nov 16th, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. Create an SSH connection on your local computer that securely forwards to the localhost connection for VNC. You can do this via the terminal on Linux or macOS with the following command:
  2.  
  3. ssh -L 5901:127.0.0.1:5901 -C -N -l testmachine_1 172.1.1.1
  4.  
  5. /etc/test$ ssh -L 5901:127.0.0.1:5901 -C -N -l testmachine_2 172.1.1.1
  6. testmachine_2@172.1.1.1's password:
Add Comment
Please, Sign In to add comment