delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/30/05:21:06

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: Duncan Murdoch <cygwin AT murdoch-sutherland DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: ssh-agent: Cygwin version problems
Date: Thu, 30 Sep 2004 05:20:47 -0400
Message-ID: <fljnl0he8j4p1o38n8s10i32634708v4qd@4ax.com>
References: <k7ldl0d2pdscsnnelphlgk2mde455c05rt AT 4ax DOT com>
In-Reply-To: <k7ldl0d2pdscsnnelphlgk2mde455c05rt@4ax.com>
MIME-Version: 1.0
X-IsSubscribed: yes

I've discovered that some of the information in my post below is
wrong:

On Sun, 26 Sep 2004 10:54:29 -0400, Duncan Murdoch
<cygwin AT murdoch-sutherland DOT com> wrote:

>I've been using OpenSSH with Cygwin for a while now, very
>successfully. Thanks to all who put this together.
>
>I'd like to set up my machine for remote logins now, which makes me
>much more security conscious:  using an old version of OpenSSH is not
>really an option.
>
>However, I can't find a way to get the latest OpenSSH to work without
>messing up ssh-agent in the sense that it becomes strongly attached to
>the bash window in which it was started.  With the versions I've got
>now, I can start ssh-agent, and an ssh tunnel, and then close the
>window, and those processes keep running.  This is very nice!
>
>As soon as I upgrade Cygwin, or the base files, this stops working.
>The bash window refuses to close; if I tell Windows to shut it down,
>it kills ssh-agent and ssh as well.

This is wrong.  ssh-agent is fine, it was ssh running some tunnels
that was creating the zombie windows.  I had a command line

ssh -N -f -L [tunnel 1] -L [tunnel 2] [user AT host] >/dev/null
2>/dev/null </dev/null 

and this worked in the old Cygwin, but not after upgrading.

I've switched to using Putty for the tunnelling, and now Cygwin
windows are fine, so this isn't an urgent problem for me any more.

Duncan Murdoch

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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