Search This Blog

Monday, October 31, 2011

Tunneling with ScreenShare

Sometimes using OS X's ScreenShare is just easier than using the command line to work on a remote computer. If both computers are in the same network, then you can use ScreenShare out of the box (unless your network admin is a freak). When asked for a Host by ScreenShare just type the remote computer's name.

But if both computers are in different networks, things can get complicated ... SSH tunneling to the rescue. In a Terminal in your local computer type:

ssh -L 5900:localhost:1202 [username@]

Then launch ScreenShare and when asked for a Host type:


That should do the trick!

(btw, the ScreenShare app is located in /System/Library/CoreServices/, at least in OS X 10.6)


  1. Thank you for your sharing. Thanks to this article I can learn more things. Expand your knowledge and abilities. Actually the article is very practical. Thank you!