[[copying-public-gpg-keys-manually]] = Copying a Public Key Manually If you want to give or send a file copy of your key to someone, use this command to write it to an ASCII text file: ---- gpg --export --armor johndoe@example.com > johndoe-pubkey.asc ---- Now see <>.