delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/24/19:19:15

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: <3FC29FE5.10203@hack.kampbjorn.com>
Date: Tue, 25 Nov 2003 01:18:45 +0100
From: Hack Kampbjorn <cygwin AT hack DOT kampbjorn DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007
X-Accept-Language: en,da,es,ca
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] Updated: keychain-2.0.3-1
References: <20031123174927 DOT 5B29932A6E0 AT redhat DOT com> <bpsc8j$f42$1 AT sea DOT gmane DOT org>
In-Reply-To: <bpsc8j$f42$1@sea.gmane.org>

Steven Woody wrote:
> alreay have ssh-agent + ssh-add, why people need keychain?

keychain is just a script around ssh-agent and ssh-add, you don't get any
functionality you can achieve with some little scripting using ssh-agent and
ssh-add directly.

If all you ever do with ssh-agent is `eval $(ssh-agent)` and you don't get
orphan agent in ps. Try `ps -e -u $(whoami) -f` do you have more than one
ssh-agent? If so take a look at keychain it will help you to kill all orphan
agent and only start one no matter how many times you log in.

I'm continually opening rxvt windows and closing them, before I used keychain I
easily ended up with 10 agents or more (even if I stopped the agent in the
logout script). I was about to add some ssh-agent logic to my profile but it was
easier (and faster) to make a cygwin package for keychain and change two lines
in my .bash_profile (which I use on cygwin, linux, and *BSD, it should also work 
on AIX, SunOS, Solaris, HP/UX ...).

http://www.gentoo.org/proj/en/keychain.xml

-- 
Med venlig hilsen / Kind regards

Hack Kampbjørn


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