Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
From: fred@ontosys.com
Date: Fri, 27 Jul 2001 14:13:36 -0500
To: Lesley.D.Lahman@medstar.net
Cc: cygwin@cygwin.com
Subject: Re: Problem Tunneling VNC through SSH
Message-ID: <20010727141336.A10810@ontosys.com>
References: <200107271846.OAA21940@www1.web2010.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <200107271846.OAA21940@www1.web2010.com>; from Lesley.D.Lahman@medstar.net on Fri, Jul 27, 2001 at 02:12:05PM -0400

On Fri, Jul 27, 2001 at 02:12:05PM -0400, Lesley.D.Lahman@medstar.net wrote:
> When on my_workstation I start ssh like this:
> 'ssh -L 5901:my_server:5900 my_server'
> port 5900 on my_server then supposedly is forwarded to
> port 5901 on my_workstation, which corresponds to display 1.

Doesn't that actually forward my_workstation:5901 to my_server:5900,
given the sense of "forward" usually used with ssh?

Have you tried 'ssh -L 5901:my_server:5901 my_server'?  That way when
'vncviewer my_workstation:1' tries to connect to port 5901 on
my_workstation it will end up communicating with port 5901 on the
my_server.

-- 
Fred Yankowski           fred@OntoSys.com      tel: +1.630.879.1312
Principal Consultant     www.OntoSys.com       fax: +1.630.879.1370
OntoSys, Inc             38W242 Deerpath Rd, Batavia, IL 60510, USA

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

