it's exactly the same procedure has describe in Debian bug. In fact I configure a yubikey with a ssh key inside.
Whenever I try to connect somewhere, where I'm sure my pub key is I get: sign_and_send_pubkey: signing failed: agent refused operation -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1824969 Title: gnupg2 : pinentry cache is not clear : gpg-agent To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnupg2/+bug/1824969/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs