agent refused operation when using GnuPG key for ssh

Werner Koch wk at gnupg.org
Tue Sep 29 22:01:56 CEST 2020


On Mon, 28 Sep 2020 23:54, Pankaj Jangid said:
> debug3: sign_and_send_pubkey: signing using rsa-sha2-512
> sign_and_send_pubkey: signing failed: agent refused operation

Algorithm looks okay.  You need to look at the gpg-agent log.  Put

log-file /somewhere/gpg-agent.log
verbose

into ~/.gnupg/gpg-agent.conf and restart the agent ("gpgconf --reload
gpg-agent" should be sufficient.  Run ssh again, check the log and post
it.  What vesion of GnUPg are you running?  ("gpg-agent --version").


Salam-Shalom,

   Werner



-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20200929/9d674654/attachment.sig>


More information about the Gnupg-users mailing list