This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ssh hanging


On Tue, May 22, 2001 at 07:30:58PM -0400, linguist-cygwin@rich-paul.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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]