delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/21/14:58:31

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <1697.128.2.120.244.1022007415.squirrel@mail.burri.to>
Date: Tue, 21 May 2002 14:56:55 -0400 (EDT)
Subject: RE: ssh-agent
From: "Brian Gallew" <geek AT burri DOT to>
To: <cygwin AT cygwin DOT com>
In-Reply-To: <BADF3C947A1BD54FBA75C70C241B0B9E40F013@ex02.idirect.net>
References: <BADF3C947A1BD54FBA75C70C241B0B9E40F013 AT ex02 DOT idirect DOT net>
X-Priority: 3
Importance: Normal
X-MSMail-Priority: Normal
MIME-Version: 1.0

Harig, Mark A. said:
> You might want to look at the tool 'keychain'.  In the setup.exe
> Category window, it's in the 'Utils' group.  Here's what it
> displays when you enter: $ keychain --help

keychain is certainly a nice tool, but I'm not sure it's going to
help.  See, I've already got the (trivial) shell hack in place that
doess all that keychain does.  The problem lies with background
processes and cygwin.  Say that the first cygwin application I launch
is rxvt.  My .bashrc checks to see if ssh-agent is running and, if
not, starts it.  Next, I launch Xwin from that shell.  Now the
ssh-agent is useful to all the windows created with my window manager.
 So far, so good.  The only problem is that I daren't exit the
original rxvt.  If I do, ssh-agent no longer functions correctly in
that all future ssh connections hang.  To get around that, I've had to
start ssh-agent with the following command:run bash -c "ssh-agent > $HOME/.config/ssh-agent"

This now functions correctly, and the only remaining difficulty is
when I restart/shutdown windows I get prompted to kill ssh-agent/bash.
 I was hoping to make it a service merely to get around the
deal-with-the-dialog issue.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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