# SSH Keys Restore Instructions ## Decrypting and Restoring SSH Keys To restore from backup: `ssh_keys_20250727_132554.tar.gz.gpg` ### Step 1: Decrypt the backup ```bash gpg --decrypt ssh_keys_20250727_132554.tar.gz.gpg > ssh_keys_20250727_132554.tar.gz ``` ### Step 2: Extract the archive ```bash tar -xzf ssh_keys_20250727_132554.tar.gz -C ~/ ``` ### Step 3: Set correct permissions ```bash chmod 700 ~/.ssh chmod 600 ~/.ssh/config chmod 600 ~/.ssh/*_key ~/.ssh/id_* chmod 644 ~/.ssh/*.pub ``` ### Step 4: Add keys to SSH agent (if needed) ```bash ssh-add ~/.ssh/your_key_name ``` ## Security Notes - Keep this encrypted backup in a secure location - The backup contains your private keys - treat it as highly sensitive - Consider storing a copy in a different location (cloud storage, external drive) - Test the restore process periodically ## Backup Contents This backup includes: - SSH configuration file - Private keys found in ~/.ssh/ - Corresponding public keys - Proper directory structure Created: Sun Jul 27 13:26:00 CEST 2025 System: 15.5