You are not logged in.

#1 2014-01-22 14:44:22

aytekinar
Member
From: Stockholm
Registered: 2013-12-19
Posts: 25

[Solved] SSH/GnuPG-Agents

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

#2 2014-01-22 20:56:27

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] SSH/GnuPG-Agents

Glad you solved it. Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-01-23 08:59:50

aytekinar
Member
From: Stockholm
Registered: 2013-12-19
Posts: 25

Re: [Solved] SSH/GnuPG-Agents

Thanks for reminding smile

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

#4 2014-01-23 09:18:42

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [Solved] SSH/GnuPG-Agents

That's an upstream issue, so report it to the developers.

Offline

Board footer

Powered by FluxBB