Have installed keychain-2.3.2 from the noarch RPM. Everything installed fine, and works as it should (ssh-agent starts) apart from not creating the .ssh-agent file. Becase the file isn't created, the second of the two lines in my bash script fails. Keychain is called in the last two lines of /home/gibbsi/.bashrc (can't put it in .bash_profile): /usr/bin/keychain ~/.ssh/id_dsa source ~/.ssh-agent > /dev/null Reproducible: Always Steps to Reproduce: 1. Install from RPM 2. Add above two lines to your .bashrc 3. Start new shell Actual Results: Output on startup: KeyChain 2.3.2; http://www.gentoo.org/projects/keychain Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL * Initializing /home/gibbsi/.keychain/gallahad.flash.org.uk-sh file... * Initializing /home/gibbsi/.keychain/gallahad.flash.org.uk-csh file... * Starting ssh-agent * Adding 1 key(s)... Enter passphrase for /home/gibbsi/.ssh/id_dsa: * Identity added: /home/gibbsi/.ssh/id_dsa (/home/gibbsi/.ssh/id_dsa) bash: /home/gibbsi/.ssh-agent: No such file or directory Expected Results: Returned a prompt I'm wondering if there's something about .bashrc that means I can't call keychain from it. Perhaps I just don't know enough about BASH... OS is Mandrake 10.0 Community. Username, home dir permissions, bash and keychain versions: [gibbsi@gallahad 02:57 gibbsi]# ll /home total 4 drwxr-xr-x 30 gibbsi gibbsi 4096 Jun 21 14:57 gibbsi/ [gibbsi@gallahad 02:58 gibbsi]# rpm -q bash keychain bash-2.05b-16mdk keychain-2.3.2-1 [gibbsi@gallahad 02:59 gibbsi]# whoami gibbsi
Reassigned in accordance with man page
You're trying to source the wrong file. It's not ~/.ssh-agent. Look at the messages outputted from keychain: * Initializing /home/gibbsi/.keychain/gallahad.flash.org.uk-sh file... That is the file that you should source.