Linux : How to export public key for others/friends or your recipients
1) Login to your shell account
2) Use --export option to export your public key in text file
$ gpg --export –a > my.key
OR
$ gpg --export -a | mail -s "My key" friend@domain.com
Where
-a --armor : Create ASCII armored output.
--export : Export the key for sharing
First command write output to file my.key and second directly sends an email to your friend. Once my.key delivered to friend, he/she need to import it using the following command (aka adding keys to your keyring):
$ gpg --import my.key
You may also be interested in other helpful articles:
- Linux > How to encrypting a files for particular user (recipients aka your trusted friend)
- First ever GPL Violation Lawsuit filed
- Basic difference between the GPL and the public domain
- FreeBSD > How to enable colorized ls output?
- How to export display from Linux to FreeBSD
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!


Recent Comments
Yesterday ~ 24 Comments
Yesterday ~ 24 Comments
Yesterday ~ 3 Comments
Yesterday ~ 2 Comments
09/05/2008 06:08 pm (2 days ago) ~ 16 Comments