pre-merge commit

This commit is contained in:
2026-03-07 18:10:25 +00:00
parent 76af5f884c
commit 17a6c5aefd
3 changed files with 7 additions and 241 deletions
+7 -6
View File
@@ -1,17 +1,18 @@
#!/bin/bash
# FIRST, MOUNT NAS AT /mnt/nas/
REMOTE="devin@192.168.0.49"
REMOTE="/mnt/nas/Jake
echo "📥 Pulling SSH keys..."
rsync "$REMOTE:~/.ssh/id_rsa" ~/.ssh/ && chmod 600 ~/.ssh/id_rsa
rsync "$REMOTE:~/.ssh/id_rsa.pub" ~/.ssh/ && chmod 644 ~/.ssh/id_rsa.pub
rsync "$REMOTE:~/.ssh/config" ~/.ssh/ && chmod 644 ~/.ssh/config
rsync "$REMOTE/ssh/id_rsa" ~/.ssh/ && chmod 600 ~/.ssh/id_rsa
rsync "$REMOTE/ssh/id_rsa.pub" ~/.ssh/ && chmod 644 ~/.ssh/id_rsa.pub
rsync "$REMOTE/ssh/config" ~/.ssh/ && chmod 644 ~/.ssh/config
echo "📥 Pulling GPG key..."
rsync "$REMOTE:~/my-gpg-key.asc" ~/
rsync "$REMOTE/ssh/my-gpg-key.asc" ~/
echo "🔑 Importing GPG key..."
gpg --import ~/my-gpg-key.asc
rm ~/my-gpg-key.asc # Clean up after import
echo "✅ SSH and GPG setup complete!"
echo "✅ SSH and GPG setup complete!"