Bug 157758

Summary: ssh-agent does not appear to work
Product: [Fedora] Fedora Reporter: David Bloomfield <davebloomfield>
Component: opensshAssignee: Tomas Mraz <tmraz>
Status: CLOSED NOTABUG QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-05-14 12:37:13 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description David Bloomfield 2005-05-14 12:09:48 EDT
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"

from .bash_profile:

eval `ssh-agent`
eval `ssh-add`

Version-Release number of selected component (if applicable):

How reproducible:

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.

Additional info:
Comment 1 David Bloomfield 2005-05-14 12:36:06 EDT
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.