Monday, May 13, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 2491  / 1 Year ago, tue, january 10, 2023, 2:48:17

I'm planning to do a fresh OS installation, but first I want to backup my .ssh folder in order to keep my ssh keys. Can I copy it into a usb stick and if so how can I do this? Do I need to do any extra steps in order to "restore" the ssh keys on my new installation?


More From » 16.04

 Answers
0

how-to-set-up-ssh-keys-on-linux-unix





  1. How to backup an existing private/public key?



    Just copy files to your backup server or external USB pen/hard drive:




    • Copy files to usb pen drive mounted at /mnt/usb *



    cp -avr $HOME/.ssh/ /mnt/usb/backups/




[#11202] Thursday, January 12, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
doredtness

Total Points: 153
Total Questions: 113
Total Answers: 106

Location: South Georgia
Member since Fri, Nov 13, 2020
4 Years ago
;