keychain/ssh-agent problems

Dr. Michael J. Chudobiak mjc at avtechpulse.com
Mon Sep 19 15:19:50 UTC 2011


Hi all,

I've been using keychain and ssh-agent for years, but it somehow has 
become flaky on F15.

I have this in .bash_profile:

keychain ~/.ssh/id_dsa
. ~/.keychain/${HOSTNAME}-sh


Normally this works fine, except when ssh-agent randomly seems to die, 
like this:


[root at server2 ~]# su - webmaster

KeyChain 2.6.8; http://www.gentoo.org/proj/en/keychain/
Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL

  * Found existing ssh-agent (13894)
  * Found existing gpg-agent (13921)
  * Adding 1 ssh key(s)...
Could not open a connection to your authentication agent.
  * Error: Problem adding; giving up

[webmaster at server2 ~]$ kill 13894


Logging in again (to re-run keychain) works OK after that.

Any ideas what the issue might be?


- Mike


More information about the users mailing list