This might seem like a duplicate question, but I have not been able to find a working resource for how to use GPG 2.1 for SSH authentication. Hence, I'm asking this question.

  1. I followed the steps from https://incenp.org/notes/2015/gnupg-for-ssh-authentication.html, but ssh-add -l doesn't show me any identities.
  2. I also followed the steps from https://www.linode.com/docs/security/authentication/gpg-key-for-ssh-authentication/. Again,ssh-add -l doesn't show any identities.
  3. I found some hints in the release notes of GPG 2.1, but they are not enough to get it to work.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.