ssh+vnc

This is a discussion on ssh+vnc within the Linux Networking forums, part of the Linux Forums category; Hi folks, I just installed suse 9.1 and it runs fine but could somebody tell how to make connection ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-09-2004
hs
 
Posts: n/a
Default ssh+vnc

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!

Haza


Reply With Quote
  #2 (permalink)  
Old 06-09-2004
Ian Northeast
 
Posts: n/a
Default Re: ssh+vnc

On Wed, 09 Jun 2004 21:36:59 +0300, hs wrote:

> 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.
http://www.chiark.greenend.org.uk/~sgtatham/putty/).

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.

Regards, Ian

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 12:52 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0