copy GNUPG keys for user from one box to another

Steve Butler sbutler at
Thu Feb 5 19:26:23 CET 2004

Some folks already have another keyring on the other end.  I have one on the
windows box which has some keys I don't want on the Linux box.  And the
other way also from the Linux side.

Folks should know how to do an --export --import (with appropriate varients)
in addition to cp, mv, ftp, tar, copy, rename, and a host of other methods.

-----Original Message-----
From: Johan Wevers [mailto:johanw at]
Sent: Thursday, February 05, 2004 1:07 PM
To: GnuPG users
Subject: Re: copy GNUPG keys for user from one box to another

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

Gnupg-users mailing list
Gnupg-users at

CONFIDENTIALITY NOTICE:  This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information.  Any unauthorized review, use, disclosure or distribution is prohibited.  If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.

More information about the Gnupg-users mailing list