On Wed, May 15, 2019 at 05:09:41PM -0400, Steve Dickson wrote:
Hello,
I'm getting the following error when I'm access the fedora git trees.
sign_and_send_pubkey: signing failed: agent refused operation
steved(a)pkgs.fedoraproject.org: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Now I know I have the correct publickey (id_rsa/id_rsa.pub)
because they work on a different host. and generally
when I have the wrong keys, I get the above error minus
sign_and_send_pubkey: signing failed: agent refused operation
Any idea what is happening?
Do you have multiple keys loaded? ISTR hitting this when I had a large
number of different keys and it would hit a limit trying them. In my
~/.ssh/config I have this:
HOST *.fedoraproject.org
fedorapeople.org *.fedorahosted.org
fedorahosted.org
IdentityFile ~/.ssh/fedora
to force it to use the right key on the 1st try.
--
Brian C. Lane (PST8PDT) - weldr.io - lorax - parted