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]
Other format: [Raw text]

Re: [ANNOUNCEMENT] Updated: keychain-2.0.3-1


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/


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