delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/16/10:51:37

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
X-Originating-IP: [24.0.161.175]
From: "Karl M" <karlm30 AT hotmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: OpenSSH 2.9p1 ssh hanging
Date: Wed, 16 May 2001 07:51:03 -0700
Mime-Version: 1.0
Message-ID: <F138T1FM1JOMyQlmLFQ0000223e@hotmail.com>
X-OriginalArrivalTime: 16 May 2001 14:51:03.0314 (UTC) FILETIME=[A1004F20:01C0DE17]

Hi Corinna and anyone else running OpenSSH 2.9p1-1...

Help...Please others try this out for me.

I'm still having problems with ssh hanging with

ssh -f -L 5901:localhost:5900 hostname sleep 30

With ssh-2.5.2p2-3 it returns immediately and a "ps -e" about 30 seconds 
later shows that the ssh process is gone. This is assuming that I do not 
connect to port 5901.

With ssh-2.9p1-1 it returns immediately and multiple "ps -e" later show that 
the ssh process hangs around indefinately. This is assuming that I do not 
connect to port 5901.

I am also having problems with using the tunnel with 2.9p1-1. (I'm trying to 
address the hanging first, in the hope that the same problem is causing both 
symptoms.)

In all of this, I am using two Win2000 boxes. The othe box is always running 
2.5.2p2-3; I am only changing versions on my local machine.

Corinna, Regarding

ssh -f -L portnumber:localhost:portnumber hostname sleep 30

The hostname as the target is from my local point of view (public IP 
address). The localhost (or other host name) is from the target's point of 
view (LAN or loopback IP address). So this sets up a tunnel to hostname, 
using hostname. I could have substituted the LAN IP address for localhost 
with the same results. (This works fine on 2.5.2p2-3.)

Thanks,

...Karl


>From: Corinna Vinschen <cygwin AT cygwin DOT com>
>To: cygwin AT cygwin DOT com
>Subject: Re: OpenSSH 2.9p1 ssh hanging
>Date: Wed, 16 May 2001 09:57:18 +0200
>
>On Wed, May 16, 2001 at 12:09:10AM -0700, Karl M wrote:
> > Hi Corinna...
> >
> > Can anyone reproduce this problem? I used to use
> >
> > ssh hostname -f -L portnumber:localhost:portnumber sleep 30
>                                 ^^^^^^^^^
>				Shouldn't that be "hostname"?
>
>I tried the above on my windows box:
>
>$ ssh -f -L4025:linuxbox:25 linuxbox sleep 30
>$ telnet localhost 4025
>Trying 127.0.0.1...
>Connected to windowsbox.
>Escape character is '^]'.
>220 linuxbox ESMTP Sendmail 8.9.3/8.9.3/Linux sendmail 8.9.3; Wed, 16 May 
>2001 09:52:26 +0200
>quit
>221 linuxbox closing connection
>Connection closed by foreign host.
>$
>[Wait for 30 seconds]
>$ ps -e
>       PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
>       764       1     764        764    ?  100 21:20:35 /usr/bin/cygrunsrv
>      1280     764     764       1244    ?  100 21:20:35 /usr/sbin/sshd
>       928    1280     764        928    ?  100 09:51:53 /usr/sbin/sshd
>       804     928     804       1496    2  100 09:51:53 /usr/bin/tcsh
>       784     804     784       1304    2  100 09:56:47 /usr/bin/ps
>$
>
>Corinna
>
>--
>Corinna Vinschen                  Please, send mails regarding Cygwin to
>Cygwin Developer                                mailto:cygwin AT cygwin DOT com
>Red Hat, Inc.
>
>--
>Want to unsubscribe from this list?
>Check out: http://cygwin.com/ml/#unsubscribe-simple
>

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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