OS X (Leopard) Secure Screen Sharing
Took me a few minutes, but I was able to get OS X new Screen Sharing (dressed up VNC) to tunnel over SSH. Here’s what I did:
In Terminal:
- Tunnel to the machine you want to connect to: ssh -L 2200:localhost:5900 myuser@mymachine.com
- In Firefox (or Safari, etc.): vnc://localhost:2200
- That command will launch the Screen Sharing app. Enter your password, etc. and go work on your remote machine.
One note: You have to use a different port (doesn’t have to be 2200) than the default port (5900) otherwise Screen Sharing will warn that you can’t screen share the same machine.
September 16th, 2008 at 2:30 pm
Nice! That worked. Bloody slow, though. I run “xtightvncviewer -compresslevel 7 localhost::2200″ on Ubuntu. I have a dual-screen iMac so I suppose that makes it worse.