Private key export for SSH

Mauricio Tavares raubvogel at gmail.com
Mon Oct 10 22:12:55 CEST 2016


Would

gpg --export-secret-keys -a C00FFEE > secret

do the trick?

On Mon, Oct 10, 2016 at 4:56 PM, John Lane <gnupg at jelmail.com> wrote:
> I've been trying out the SSH compatibility. Everything working as per
> the documentation, except I have one question.
>
> How can I extract the SSH PRIVATE key ?
>
> I am using "gpg --export-ssh-key alice > ssh_key.pub" for the public key
> but I can't find an equivalent for the private key.
>
> The reason why I would like the private key is so that I can use it on
> another host where I don't have the benefit of gpg 2.1 (or any gpg, for
> that matter).
>
> Thanks,
> John
>
>
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users



More information about the Gnupg-users mailing list