delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/22/20:39:42

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: Tue, 22 May 2001 20:11:00 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: ssh hanging
Message-ID: <20010522201059.B8247@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <F147rblZz02H67yRLVb000046ca AT hotmail DOT com> <20010522193058 DOT B4807 AT monster DOT master-link DOT org>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <20010522193058.B4807@monster.master-link.org>; from linguist-cygwin@rich-paul.net on Tue, May 22, 2001 at 07:30:58PM -0400

On Tue, May 22, 2001 at 07:30:58PM -0400, linguist-cygwin AT rich-paul DOT net wrote:
>For what it's worth, I have a (somewhat) similar problem:
>
>bash$ nohup ssh-agent > ~/.ssh-agent &
>bash$ exit
>
>causes the terminal window to hang there.  If I kill the term
>window, ssh-agent may or may not die, but will not work.
>
>Latest of everything, AFAIK, and Win2K.

This is to be expected, if you are using CYGWIN=tty.  If you use
CYGWIN=tty and running in a console window, cygwin won't allow the
process to exit until the last user of the tty is gone.

Possibly doing this:

nohup ssh-agent > ~/.ssh-agent 2>&1 < /dev/null&

may work better.

cgf

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