10.5: How to use screen sharing remotely and securely

OS X 10.5’s screen sharing feature works nicely on local networks. But to control your computer over an internet connection is easy, too.
- Use SSH to establish a tunnel to the computer you want to control. Be sure to use a local port other than 5900 — otherwise the screen sharing app will complain about controlling the local screen is not possible. A good example is:
…where 1202 is the local port, and 192.168.10.10:5900 the remote destination.ssh -L 1202/192.168.10.10/5900 - Go into…