You are not logged in.
Hey, I am an Arch- and GPG/PGP-newbie. I am sorry if this problem has already been asked and solved, but doing a "ssh authenticate gpg-agent" search hasn't helped me so far.
My problem is simple, yet, I cannot solve it by myself. I have a GPG keyring which has 4 keys - main key for certification, the rest for the obvious purposes: authentication, encryption and signing. The authentication key is a 2048-bit-RSA key. What I would like to do is to use this key for logging to SSH servers. I have read and applied the related Wiki entries of ArchLinux but they didn't help me solve it. Currently, I have ssh-agent and gpg-agent running, ~/.gnupg/sshcontrol file automatically created. I have added the fingerprint (40 digit hex) of my authentication key on the sshcontrol file but ssh-add -L command does nothing. When I try to ssh-keygen, gpg-agent takes control; but it does NOT work the other way around.
Any suggestions? Thanks !
Edit: My problem has been solved. I had to enter the key name as saved on the harddisk, since apparently it is the keygrip for my key(s). Yet, doing some search online has given me misleading information in the sense that some call the keygrip as the fingerprint of the key(s). Plus, --with-keygrip option does NOT work with the current implementation of gpg2, although in the man pages I can see that option and what it does.
Last edited by aytekinar (2014-01-23 08:57:38)
Offline
Glad you solved it. Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.
Offline
Thanks for reminding
Btw, my problem/issue with gpg2's (inexistent, yet there-in-the-man-pages) "--with-keygrip" option still persists - though I am not sure if this is the place to mention about it.
Offline
That's an upstream issue, so report it to the developers.
Offline