delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/16/11:08:48

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
Date: Wed, 16 May 2001 17:08:00 +0200
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: OpenSSH 2.9p1 ssh hanging
Message-ID: <20010516170800.B31266@cygbert.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <F138T1FM1JOMyQlmLFQ0000223e AT hotmail DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <F138T1FM1JOMyQlmLFQ0000223e@hotmail.com>; from karlm30@hotmail.com on Wed, May 16, 2001 at 07:51:03AM -0700

On Wed, May 16, 2001 at 07:51:03AM -0700, Karl M wrote:
> 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 
[...]

However, that works for me, too.

$ ssh -f -L 4099:localhost:25 cygbert sleep 30
$ telnet localhost 4099
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 17:04:17 +0200
quit
221 linuxbox closing connection
Connection closed by foreign host.
$ ssh -V
OpenSSH_2.9p1, SSH protocols 1.5/2.0, OpenSSL 0x0090600f
[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
      968    1280     764        968    ?  100 22:25:42 /usr/sbin/sshd
     1592     968    1592       1128    1  100 22:25:42 /usr/bin/tcsh
     1696    1592    1696       1152    1  100 17:05:32 /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

- Raw text -


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