Red Hat Bugzilla – Bug 157758
ssh-agent does not appear to work
Last modified: 2007-11-30 17:11:06 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Description of problem:
Ever since I upgraded from Fedora Core 3 to FC4 test2 ssh-agent has not worked. I was hoping upgrading to test3 would help but it doesn't look like the packages have changed so I thought I'd better report this. I use ssh-agent all the time with a SSH v1 key. I use KDE as my window manager and I am prompted for the ssh passphrase after login but before any other windows open, as I would expect. Below is the ssh-agent process running on my linux box, i'm pretty sure the version that came with Fedora Core 3 didn't have the dbus option on the command line, maybe something to do with this?
"/usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session /home/davidbl/.Xclients"
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Use FC4 test2 or test3 (haven't tested on test1)
2. setup ssh-agent in .bash_profile and make sure your key is present in .ssh/identity and .ssh/identity.pub
3. Login to computer using kde session
4. Connect using "ssh -1" to a user@host that has your key in authorized_keys
Actual Results: I'm prompted for my password when I shouldn't be
Expected Results: Should have been logged in automatically.
A colleague has now pointed out that a second instance of ssh-agent is being
started everytime I log-in, I've commented out the eval lines from my
.bash_profile and am now starting ssh-agent from ~/.kde/Autostart
my issue is resolved, sorry if I wasted anyone's time.