1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 16:42:08 +02:00
tldr/pages/common/tarsnap-keygen.md
Vitor Henrique 8c888d156c
tarsnap, tarsnap-keygen: add pages (#12219)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2024-02-14 21:25:31 +01:00

492 B

tarsnap-keygen

Generate a key file for use with Tarsnap, an online backup service. More information: https://www.tarsnap.com/man-tarsnap-keygen.1.html.

  • Register a machine with the Tarsnap server:

sudo tarsnap-keygen --keyfile {{path/to/file.key}} --user {{user_email}} --machine {{machine_name}}

  • Encrypt the key file (a passphrase will be requested twice):

sudo tarsnap-keygen --keyfile {{path/to/file.key}} --user {{user_email}} --machine {{machine_name}} --passphrased