On Thu, 2019-05-16 at 15:31 -0400, Steve Dickson wrote:
On 5/16/19 5:11 AM, Jakub Jelen wrote:
> On Wed, 2019-05-15 at 17:09 -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?
>
> What Fedora and OpenSSH version are you using?
Update F29 and openssh-7.9p1-5.fc29
This one is in the wild for quite a long time.
> Does it work if you downgrade openssh?
Do do for some reason things started working again.... w/out a
downgrade.
Are you using gnome-keyring?
No.
> What is the output of "echo $SSH_AUTH_SOCK"?
/run/user/3606/keyring/ssh
This is the path used by gnome-keyring. But internally, the gnome
keyring is using the openssh's ssh-agent in recent versions so there is
still quite many moving parts.
> This error means that the agent fails to provide the signature
> using
> your private key for some reason. Running the ssh-agent separately
> in
> debug mode (ssh-agent -d) might show a bit more information.
OK... thanks for the tip... but like I said.. things just started
working again... Maybe was because I am on a remote Oracle campus? ;-
)
Good to hear that it works now. Please, let me know if you would see
something weird going on with openssh.
Regards,
--
Jakub Jelen
Senior Software Engineer
Security Technologies
Red Hat, Inc.