Grant’s Grunts
Random thoughts on programming, photography, triathlon, life and work
| Log in
Home Computers Misc. NC Nutrition Photography Sports

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:

  1. Tunnel to the machine you want to connect to:  ssh -L 2200:localhost:5900 myuser@mymachine.com
  2. In Firefox (or Safari, etc.): vnc://localhost:2200
  3. 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.

One Response to “OS X (Leopard) Secure Screen Sharing”

  1. Darren Says:

    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.

Leave a Reply

*
To prove that you're not a bot, enter this code
Anti-Spam Image