copy GNUPG keys for user from one box to another

Johan Wevers johanw at
Thu Feb 5 22:07:04 CET 2004

gabriel rosenkoetter wrote:

>> gpg --export --armor | ssh <user at remotemachine> gpg --import
>I missed the beginning of this thread, but if your plan is to
>migrate secret keys too, you'll need --export-secret-keys (and
>possibly --export-all, if you've got some keys that don't fit the
>OpenPGP standards).

Why so complicated? Why not just copy or ftp/scp the entire keyrings?

ir. J.C.A. Wevers         //  Physics and science fiction site:
johanw at   //
PGP/GPG public keys at

More information about the Gnupg-users mailing list