Backup e restore de chaves SSH
Tags: linux Category: DevOps
Backup
- Copy both
id_rsa
andid_rsa.pub
from~/.ssh/
to a USB drive.
Restore
- Copy both
id_rsa
andid_rsa.pub
to~/.ssh/
- Change file permissions and ownership of both files.
- Start the ssh-agent.
- Add your SSH private key to the ssh-agent.
Now you’re ready to use Git and update your repositories.