Howto add ssh keys to .gnupg/sshcontrol?
Michael Bienia
michael at vorlon.ping.de
Mon Oct 9 15:37:07 CEST 2006
On 2006-10-09 22:43:34 +0930, Alphax wrote:
> 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?
No, from .gnupg/sshcontrol:
# [...] A
# non-comment line starts with optional white spaces, followed by the
# keygrip of the key given as 40 hex digits, [...]
The fingerprint returned by ssh-keygen -l is only 32 hex digits long.
Michael
More information about the Gnupg-users
mailing list