Saturday, Feb 16, 2008 Screen sharing with Linux using SSH tunnel
I’ve been using VNC to control my Linux server in data centre protected by SSH-tunnel for a long time. Leopard’s Screen Sharing feature is using VNC as well. So, I tried to research a bit to see if I can connect my Linux server using Leopard’s Screen Sharing application.
Guess what? It works!!
- In Terminal, connect to my server using ssh: ssh abc@myserver.com -L5901:localhost:5901 This will export the 5901 port in the server to my local host’s 5901 port.
- in Finder > Go > Connect to Server, type vnc://localhost:5901
Reference: