delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/27/14:46:12

Message-Id: <200107271846.OAA06209@delorie.com>
Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: Lesley DOT D DOT Lahman AT medstar DOT net
X-Lotus-FromDomain: MEDSTAR
To: cygwin AT cygwin DOT com
Date: Fri, 27 Jul 2001 14:12:05 -0400
Subject: Problem Tunneling VNC through SSH
Mime-Version: 1.0


Hi all,
Has anyone replied to Borre Sanders.  I searched through all of the postings in
the mailing list archive, but I couldn't find any.  I ask because I am having
the same problem.  I pasted his orginal post and included information about my
own problem afterward.  Any help is greatly appreciated.  Thank you.
------------------------------------------------------------------------------
Hello,

Last week I got sshd working, i.e. I can open a remote shell now.

my_server: runs sshd, VNC server
my_workstation: runs ssh, VNC client

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.
I expect to be able to securely connect to the VNC server running
on my_server using 'vncviewer my_workstation:1'.

It doesn't work though. Has anybody got VNC or other connections
to work similar to the way I described here, using Sergey
Okhapkin's implementation of SSH V1.2.26? Your help would be
appreciated.

Thanks in advance,
Borre Sanders.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

I have a Windows NT 4.0 workstation which I am using as the sshd server and VNC
server.  Both services are up and running.  I am connecting to the workstation
with an SSH client and the VNC viewer on a Windows NT 4.0 workstation.  I have
been able to connect to both sshd and vnc servers without any problem
individually.  My problem occurs when I try to tunnel VNC through SSH.  I am
using the command 'ssh2 -L 5901:myvncserver:5900 -C -g userid AT mysshserver'.
After I have established the connection to sshd, I then try to open the vnc
viewer and connect to vnc server 'localhost:1'.  The connection seems to hang
because it eventually times out.  I am behind a firewall, so I am trying to make
the connection work locally before I attempt it from outside the firewall coming
in.  If anyone has any ideas, I would be so happy to try your suggestions.
Thanks so much!

Lesley Lahman



--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019