![]() Enter the information in the connection dialog and voila, you have access to the remote machine - even behind the incoming firewall. With CotVNC, the setup is to connect to localhost, display 0, with the bogus password. If you don't have an authorized SSH key on the CotVNC machine, then the Terminal window that opens for the AppleScript user on the remote machine will prompt for a password. When the remote user runs this script, the tunnel is available on port 5900 on the localhost for the local VNC client. But since the remote machine is behind an incoming firewall that blocks port 22, we need to do a reverse tunnel to our localhost. The trick is that we want to tunnel from our local loopback address 127.0.0.1 (IPv4) on the machine running CotVNC to the remote machine. The other settings are not used unless you are using Apple's Remote Desktop software. Then, from the "Access Privileges." button, check "VNC viewers may control screen with password," enter a bogus password (since we are using SSH for security), and click OK. The only setting you need with Apple's 2.1 client (which should be called ARD 2.1 Server, but that would confuse the unwashed masses) is to check the Apple Remote Desktop in System Preferences Sharing Pane. Substitute the appropriate USER and DOMAIN.ORG information for your machine in the script. (* DOMAIN.ORG is the host name or IP address for the CotVNC machine *)ĭo script "ssh -R 5900:127.0.0.1:5900" in x (* USER is a user name on the CotVNC machine *) Then I used a VNC application - I use Chicken of the VNC (CotVNC) pointing at localhost, display 0, to remotely control her iMac: ![]() The AppleScript does a reverse port mapping from her machine to mine. The following shell script is something that I probably couldn't have gotten across to her over the phone, but a simple AppleScript. you must have SSH enabled ("Remote Login" in Sharing preferences), and port 22 available through your firewall.the remote user must have a login on your local machine.This was annoying, but I knew there must be a solution. So I couldn't do an SSH connection to her IP to tunnel to the VNC port on her iMac. Then I found out that her DSL ISP (Earthlink) is blocking incoming port 22. Remote support has been a constant problem, so last night I talked her through installing Apple's latest Remote Desktop Client 2.1. My mother (she just turned 68) was having some trouble with her Airport Base Station, and she wanted some help from me.
0 Comments
Leave a Reply. |