How can I export a pgp-key from one machine and import it to another? The only way I figured out (in seahorse) was to import it to the section other keys.
But I want to use one single pgp-key from diffrent machines. Is this easier to solve via terminal and gpg? I'm a little bit confused about seahorse.
In a terminal, run the following:
And on the other system, import the secret key with:
Alternatively, if you've got ssh access to the other system you should be able to combine these two actions into a single command:
Once the keyfiles have served their purpose, securely delete them:
or
Make sure to shred and remove the key instead of using normal deletion. Additionally, instead of moving the keyfile with
mv
, copy it, then shred and remove the original. These methods will prevent an attacker from recovering the key through low-level bit inspection.