If for some reason you need to see what's running on another user's desktop, when you're both behind the same firewall, VNC is a good solution. But there is a problem when each user is behind different firewalls and you need a secure connection. Rob Reilly demonstrates how to make this secure connection happen when each user is behind different firewalls using VNC while tunneling over SSH.
Rob in his article explains in detail these steps:
- How to start the server on the user's machine
- How to use SSH
- How to speed up screen repaints
- How to use vncviewer on the local PC, so you can watch what the user is doing on the remote desktop.
- How to do the opposite: Server here, client there
In Rob's article you can touch on the basics of using VNC over an SSH tunnel. Check it. Check it.
The idea is to port forward the SSH traffic from the Internet to the VNC-equipped user desktop machine.
Port 22 on the user's Linux desktop also needs to be available for logging in via SSH. When the session is finished, the firewall's SSH port can then again be closed to inbound traffic.
Rob in his article explains in detail these steps:
- How to start the server on the user's machine
- How to use SSH
- How to speed up screen repaints
- How to use vncviewer on the local PC, so you can watch what the user is doing on the remote desktop.
- How to do the opposite: Server here, client there
In Rob's article you can touch on the basics of using VNC over an SSH tunnel. Check it. Check it.