Re: Confused about tightvnc and ssh tunnel

From: james hal-pc.org (at)
Date: 11/21/03


Date: Fri, 21 Nov 2003 12:37:04 -0600

Brent Bolin wrote:
> Hello all,
>
> Recently installed tightvnc on fbsd4.9 . Incredible fast network
> connection to fluxbox from an win2k/pro workstation. Previously using
> cygwin via ssh.
>
> How do I tunnel vnc connection through ssh ?
>
> Reading through documentation it appears it can be done with putty or
> ssh from the cygwin distribution.
>
> Something like this from the cygwin shell
>
> ssh -l username destination.ip -L 5900:127.0.0.1:5900
>
> From a windoze dos prompt netstat -an
>
> I can see 0.0.0.0:5900 LISTENING but not ESTABLISHED
>
> How can I tell if tightvnc is tunneling through ssh ?
>
> Is there an option on the fbsd side to tell Xvnc to allways use ssh
> tunneling ?
>
> btb

try to establish the tunnel on a different port from what vnc would
normally use. then when you run vncviewer use:
vncviewer localhost::PORT#
if it works then you know it's being tunneled.

-- 
- - J A M E S - - P O O L - -
    < james AT hal-pc.org >
Press any key to continue or any other key to quit...
- - - - - - - - - - - - - - -


Relevant Pages

  • Re: vnc over ssh
    ... SSH. ... So the following line would set up the tunnel to VNC the remote machine ... > i run cygwin by clicking on a shortcut. ... > is there a one line command i can use to set up the port forwarding on ...
    (comp.security.ssh)
  • Creating dynamic tunnels using bash script (cygwin/solaris)
    ... I am trying to create a tunnel via ssh from cygwin to solaris. ...
    (comp.security.ssh)
  • Confused about tightvnc and ssh tunnel
    ... How do I tunnel vnc connection through ssh? ... ssh from the cygwin distribution. ... How can I tell if tightvnc is tunneling through ssh? ...
    (comp.unix.bsd.freebsd.misc)
  • Re: What is The SSH?
    ... Building and Using SSH Tunnels ... What is an SSH tunnel? ... how to use it to make a connection to a server. ... You will need a working SSH client and server installation to build and test ...
    (microsoft.public.windows.server.networking)
  • RE: HOWTO Ping LAN???
    ... SSH to the box, and tunnel to other internal machines ... > network is by tunneling. ...
    (freebsd-questions)