I think the reverse connection uses port 5500, so you'd want to do

ssh -R 5500:localhost:5500 {server}

and then run

vncconnect localhost

on the server.  This will cause problems if multiple users are trying to
do this on the same server.  They'd each have to set up their VNC
viewers to listen on a different port.

Using -R is the key, though.  That tells the SSh server to create a
listener on port 5500 and redirect all of that traffic to port 5500 on
the SSh client.  -L does the opposite-- tells the SSh client to create a
listener on port {whatever} and redirect all of that traffic to port
{whatever} on the SSh server.

dipti shah wrote:
> Hi, I got to know how to tunnel VNC over SSH between LINUX machines and
> Windows to LINUX machine from
> http://www.science.smith.edu/~ejensen/vncssh.html. This is possible only
> if I do forward connection. Could anyone suggest me how to tunnel the
> VNC over SSH in reverse connection?
> 
> Thanks,
> Dipti
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Tigervnc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tigervnc-users

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Tigervnc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tigervnc-users

Reply via email to