Private key export for SSH

John Lane gnupg at jelmail.com
Tue Oct 11 12:13:13 CEST 2016


On 10/10/16 21:12, Mauricio Tavares wrote:
> Would
>
> gpg --export-secret-keys -a C00FFEE > secret
>
> do the trick?
No, because that exports a gpg keyring and not an ssh private key.

One might imply the below is possible, but the error would indicate that
it isnt:

    $ gpg --export-secret-keys --export-ssh-key alice
    gpg: conflicting commands




More information about the Gnupg-users mailing list