#7116 Passphrase required for key in ssh-agent
Closed: Upstream 5 years ago Opened 5 years ago by verdurin.

When I clone a repo with fedpkg it always requests the passphrase of my SSH key, even though I have the correct key loaded in an SSH agent and have specified which key to use, along with 'IdentitiesOnly' in ~/.ssh/config:

Host .fedoraproject.org fedorapeople.org .fedorahosted.org
IdentitiesOnly yes
User verdurin
IdentityFile ~/.ssh/fedora-id_rsa

If I do enter the passphrase, it works, so I'm assuming there is nothing wrong with the key.

This is on a Fedora 28 laptop with the latest updates.


As far as I can tell this isn't a problem on our side but is with the configuration you are using. You will need to debug it. I would start with removing fedorahosted.org since that is dead. I would also comment out the IndentitiesOnly first.

Host *.fedoraproject.org fedorapeople.org
#IdentitiesOnly yes
User verdurin
IdentityFile ~/.ssh/fedora-id_rsa

Next check to see that is the actual file as usually the .pub is the identity file and the non-pub is the secret key which it will need to unlock.

Metadata Update from @smooge:
- Issue assigned to smooge

5 years ago

Additionally if you are using gnome we have seen people hit a bug where the agent seems like it's working, but doesn't actually process any requests. If thats what you are hitting a logout/login cycle usually clears it up.

Problem looks to be with GNOME or other configuration versus Fedora systems

Metadata Update from @smooge:
- Issue close_status updated to: Upstream

5 years ago

Login to comment on this ticket.

Metadata