On Thu, 2019-05-16 at 10:09 -0700, Brian C. Lane wrote:
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.
No, this would be different error from server saying too many
authentication attempts.
Regards,
--
Jakub Jelen
Senior Software Engineer
Security Technologies
Red Hat, Inc.