> Hi folks, I just installed suse 9.1 and it runs fine but could somebody
> tell how to make connection from win2k pc to that linux computer with vnc
> tunneled to ssh. I can make ssh connection but could not find good
> documents how to "tunnel" that vnc. Hope you understand my miserable
> explanation, Please help!
I am assuming the VNC server is running on SuSE and you want to connect to
it from Win2K over an SSH tunnel. I am also assuming you are using putty
as your Windows SSH client (if you're not you should be.
You need one or two local tunnels. If you are using an actual VNC client,
you only need one, to port 590x where x is the display number of your VNC
server (it normally defaults to 1, it tells you when you start it). If you
want to use the Java client in a web browser, you additionally need to
tunnel to port 580x.
On a command line ssh the syntax is:
.. -L 590x:localhost:590x [ -L 580x:localhost:580x ]
In putty, in the "Connection/SSH/Tunnels" window, you specify "local" and
put "590x" in "Source port" and "localhost:590x" in "Destination". If you
need the second tunnel, repeat the operation.Putty allows you to save the
configuration so you don't have to keep doing this.
The port numbers don't actually have to match at both ends but I find it a
lot easier if they do. SSH tunnelling is a bit tricky to get your head
around without adding unnecessary complication.
Then you point your VNC client at localhost (or 127.0.0.1) with the
appropriate offset, or your web browser at http://localhost:580x.