Private key export for SSH

Justus Winter justus at
Thu Oct 13 11:33:32 CEST 2016

Hi John :)

Daniel Kahn Gillmor <dkg at> writes:
> On Wed 2016-10-12 11:52:19 -0400, John Lane wrote:
>> This is just an observation. I thought that perhaps, if I had an
>> extracted private key, that I could use "ssh-add" to add it and remove
>> the need to manually edit "sshcontrol". I tried:
>> $ ssh-add alice.key
>> Identity added: alice.key (alice.key)
>> Looking good. However...
>> $ ssh-add -l
>> The agent has no identities.
>> No joy. I realise the documented way is to edit the sshcontrol file and
>> put the keygrip into it. But the positive output above is misleading.

John, can you please tell us which version of GnuPG you are using, and
just to be sure, also check that

  gpg-connect-agent 'getinfo version' /bye

prints the expected version number?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 454 bytes
Desc: not available
URL: </pipermail/attachments/20161013/be9915de/attachment.sig>

More information about the Gnupg-users mailing list