8.18.2004
Tech Tip: VNC to Mac OSX through SSH tunnel
Install OSXvnc and follow the instructions here:
Source:
http://www.redstonesoftware.com/osxvnc/OSXvnc.html
Q:
How can I have my connection to OSXvnc tunnel through SSH?
A:
Since MacOS X ships with SSH support built in this is pretty easy. First you will want to make sure your VNC machine has SSH running. You can turn this on in the System Preferences -> Sharing Panel by checking the box for "Remote Login". Then you need an SSH client on the machine you want to connect from (again, it's there by default on MacOS X). For the rest of the instructions read the VNC page http://www.uk.research.att.com/archive/vnc/sshvnc.html.
If you use the "-localhost" option in OSXvnc you will need to literally specify "127.0.0.1" when you make your ssh port forwarding call, like this example: "ssh -L 5905:127.0.0.1:5900 mydomain.com"
NOTE: In MacOS 10.3 (Panther) localhost is defined as it's IPv6 version - this doesn't work for VNC so specify 127.0.0.1
Source:
http://www.redstonesoftware.com/osxvnc/OSXvnc.html
Q:
How can I have my connection to OSXvnc tunnel through SSH?
A:
Since MacOS X ships with SSH support built in this is pretty easy. First you will want to make sure your VNC machine has SSH running. You can turn this on in the System Preferences -> Sharing Panel by checking the box for "Remote Login". Then you need an SSH client on the machine you want to connect from (again, it's there by default on MacOS X). For the rest of the instructions read the VNC page http://www.uk.research.att.com/archive/vnc/sshvnc.html.
If you use the "-localhost" option in OSXvnc you will need to literally specify "127.0.0.1" when you make your ssh port forwarding call, like this example: "ssh -L 5905:127.0.0.1:5900 mydomain.com"
NOTE: In MacOS 10.3 (Panther) localhost is defined as it's IPv6 version - this doesn't work for VNC so specify 127.0.0.1
