Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Targeting a third machine' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Targeting a third machine
Authored by: Rainy Day on Feb 17, '13 12:11:15AM
Note: If you wish to establish the tunnel to one machine on a remote LAN, but target another machine on that same LAN for screen sharing, then replace 127.0.0.1 in the ssh command with the third (target) machine's IP address. For example, if the third machine's s IP address is 192.168.0.32, the command would look something like this:
do shell script "/usr/bin/ssh username@example.com -fL6900:192.168.0.32:5900 -o ExitOnForwardFailure=yes sleep 45 && killall ssh-agent; open -W vnc://screen.example.com:6900"
This was tested under Mountain Lion.

[ Reply to This | # ]