Description of Problem: .bash_profile does not source my keychain files Version-Release number of selected component (if applicable): bash-2.05b-5 How Reproducible: Every time on this machine Steps to Reproduce: 1. Install keychain 2.0.2 (or number of previous versions, each set up correctly) 2. Add the two lines to ~/.bash_profile required for normal keychain operation 3. Log in, enter passphrase into gnome-ssh-askpass 4. Open a terminal (xterm or gnome-terminal) 5. Type ssh-add -l; see "The agent has no identities." 6. source .bash_profile or source ~/.keychain/${HOSTNAME}-sh, then ssh-add -l lists all my keys, and everything works, but only for that terminal. Actual Results: See "The agent has no identities." unless source .bash_profile or ~/.keychain/${HOSTNAME}-sh Expected Results: See output listing my keys when type ssh-add -l, and expect ssh to work using public key authentication. Additional Information: It always worked for me with previous versions of Red Hat Linux. I am willing to spend some effort in tracking this down if you can offer any suggestions. I will try in the College soon with many fresh RH 8.0 installations. $ grep keychain ~/.bash_profile /usr/bin/keychain ~/.ssh/id_rsa ~/.ssh/id_dsa ~/.ssh/identity . ~/.keychain/${HOSTNAME}-sh $ echo $SHELL /bin/bash
Followed your steps to reproduce: it works for me. You'll need to find a smaller example that doesn't work for you. Was this an installation or an upgrade?
It was an upgrade (using rpmfind on a system running on LVM on RAID). I established that it worked for a fresh install. However, I don't understand what is not right. I'd better do some more trouble shooting after more sleep.
I have the same problem. I'm running RH8.0 - clean install. It worked fine under 7.3.
Even though I did a fresh install of RH8, I then re-instated my configuration files in $HOME. I don't know what changed in /etc between 7.3 and 8.0, but the fix is to run your chosen terminal emulator with the "-ls" option to get a login shell. For example, xterm -ls aterm -ls