GPG agent returns subset of keys for SSH

Werner Koch wk at
Tue May 16 16:45:44 CEST 2023

On Tue, 16 May 2023 01:19, LuKaRo said:

> '/run/user/1000/gnupg/S.gpg-agent.ssh'
> debug2: get_agent_identities: ssh_agent_bind_hostkey: agent refused
> operation

You should log the other side of the things: Put

log-file /whatever/you/want
debug ipc

into ~/.gnupg/gpg-agent.conf and "gpgconf --kill gpg-agent".  If you
are not yet running 2.4 (or the older 2.3) you should definitely do so.



The pioneers of a warless world are the youth that
refuse military service.             - A. Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <>

More information about the Gnupg-users mailing list