On Friday 13 May 2005 15:52, Khan St. Preest wrote:
Hi Steven, Just 5900 for :0.
But you have to know that VNC session is not secured. For that reason I use ssh tunneling. Then from my "client" I ssh to the host, and the use VNC viewer against a local port. That way there is no need to open 59xx ports in the firewall.
Cheers Sunny
I've never heard of that process before. How does one go about doing it?
0. ssh to the remote box forwarding local port 15900 to the remote box's own port 5900 e.g. ssh -L 15900:localhost:5900 user@hosts.dns-name.or.address
When I check the man page for ssh the -L option looks like this: -L Xo Sm off port host hostport Sm on, but you only used -L in your example. When you use -L what are the values for the ' Xo Sm off port host hostport Sm on' part? Thanks, Jerome
1. then run a vnc client on your host but connect to your own port 15900 e.g. krdc vnc://localhost:15900
ssh tunnels this vnc connection to your localhost port 15900, through the ssh session, and out the other side to the other machine's localhost port 5900.
the port numbers i used are just examples, use whatever ports suit you and your scenario.
hope that helps! Khan