mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-11-30 23:38:18 +00:00
12 lines
359 B
Text
12 lines
359 B
Text
[[backup-gpg-keys-cli]]
|
|
= Making a Key Backup Using the Command Line
|
|
|
|
Use the following command to make the backup, which you can then copy to a destination of your choice:
|
|
|
|
----
|
|
gpg --export-secret-keys --armor johndoe@example.com > johndoe-privkey.asc
|
|
----
|
|
|
|
Store the copy in a secure place, such as a locked container.
|
|
|
|
Now see <<exporting-gpg-keys-cli>>.
|