Hi felix et al:

Louis> I have very basic questions.
See below.

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> On Behalf Of Felix Sheldon
> Sent: Tuesday, 25 March 2003 00:03
> To: LS
> Cc: [EMAIL PROTECTED]
> Subject: RE: [Re: [[SLUG] VNC on Live Server for RH 7.1 [Next Round]]]
> 
> 
> On Mon, 2003-03-24 at 23:15, LS wrote:
> > My Reply under "Louis>"
> > 
> <snip>
> 
> Hi Louis,
>  
> > What I need to know now is how do I make the vnc connection 
> secure via 
> > SSH. Anyone knows how to do this ? I remember reading about 
> this from 
> > a url on the web. I can't find that url anymore. Anyway I did not 
> > really understand it properly.
> > 
> 
> I can help with this bit at least, you can use the -L option 
> to SSH to forward the VNC port on the server to a local port.
> 
> ssh -C -L listen-port:host:port
> 
> If VNC on your server is on port 5500, you might do:

Louis> How do I find out the vnc server port number when I start
vncserver ?

> 
> ssh -C -L 5501:server-ip-address:5500

Louis> Are you saying here, from Putty or Teraterm I connect 
to my server using the above command. Once connected
to the server I start vncserver ?

Is "ssh" the ssh daemon ? Why is listen port is "5501" ?
Is it always one higher than the vnc port number ?


> 
> then, on your local machine (not in the ssh session) you can type:
> 
> vncviewer localhost:5501 

Louis> Do I really enter "localhost" or "ip_address_of_server:5501" ?
After I start vncviewer ?

Cheers

Louis.


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to