Howto add ssh keys to .gnupg/sshcontrol?

Alphax alphasigmax at gmail.com
Mon Oct 9 15:13:34 CEST 2006


Michael Bienia wrote:
> Hello,
> 
> I'm having trouble to add my ssh key to a running gpg-agent (started
> with --enable-ssh-support).
> 
> The comments in .gnupg/sshcontrol suggests you can do it with ssh-add or
> manually. When I try it with ssh-add I'm asked about my passphrase but
> afterwards ssh-add -l doesn't list it and it also doesn't show up in
> sshcontrol.
> The comment also mentions that one can add it manually by adding a
> keygrip of 40 hex digits. How do I get this keygrip from my ssh key to
> add it manually?
> 

I assume you mean fingerprint?

ssh-keygen -l [-f input_keyfile]

-l      Show fingerprint of specified public key file.  Private RSA1
        keys are also supported.  For RSA and DSA keys ssh-keygen tries
        to find the matching public key file and prints its fingerprint.

-- 
                Alphax
        Death to all fanatics!
  Down with categorical imperative!
OpenPGP key: http://tinyurl.com/lvq4g

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 565 bytes
Desc: OpenPGP digital signature
Url : /pipermail/attachments/20061009/91fab130/signature.pgp


More information about the Gnupg-users mailing list