gpg --export-ssh-key --armor <key-id>
specific public key export
gpg --export-ssh-key --armor <key-id>!
ssh-add -L shows The agent has no identities.
- Check newline character is ^M(\r\n) especially when using window.
- Check ssh support option is enabled and key is properly listed
gpg-connect-agent "keyinfo --ssh-list" /bye
ssh-add -L or ssh -T shows error fetching identities: agent refused operation
- Make ssh key via keygen.
- Use ssh-add to add the generated key.
- Enter the GPG Agent Pinentry
- Remove keygrip in sshcontrol file.
- Check ssh-add show
The agent has no identities.
- Add keygrip and test.