Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; 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