scc: Session save and push from Mikes-MacBook-Air.local at 2026-04-19 08:34:23
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
55
temp/add_key_to_owncloud.txt
Normal file
55
temp/add_key_to_owncloud.txt
Normal file
@@ -0,0 +1,55 @@
|
||||
SSH Key to Add to OwnCloud VM
|
||||
=====================================
|
||||
|
||||
SSH Public Key:
|
||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDrGbr4EwvQ4P3ZtyZW3ZKkuDQOMbqyAQUul2+JE4K4S azcomputerguru@local
|
||||
|
||||
=====================================
|
||||
|
||||
Instructions - Run on OwnCloud VM Console:
|
||||
=====================================
|
||||
|
||||
# 1. Access OwnCloud VM via Jupiter WebGUI
|
||||
# http://172.16.3.20 → VMs → OwnCloud → VNC
|
||||
|
||||
# 2. Login as root / Paper123!@#-unifi!
|
||||
|
||||
# 3. Create .ssh directory if it doesn't exist
|
||||
mkdir -p ~/.ssh
|
||||
chmod 700 ~/.ssh
|
||||
|
||||
# 4. Add the SSH key (paste the following command):
|
||||
cat << 'EOF' >> ~/.ssh/authorized_keys
|
||||
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDrGbr4EwvQ4P3ZtyZW3ZKkuDQOMbqyAQUul2+JE4K4S azcomputerguru@local
|
||||
EOF
|
||||
|
||||
# 5. Set correct permissions
|
||||
chmod 600 ~/.ssh/authorized_keys
|
||||
|
||||
# 6. Verify key was added
|
||||
cat ~/.ssh/authorized_keys
|
||||
|
||||
# 7. Ensure SSH is running and enabled
|
||||
systemctl enable sshd --now
|
||||
systemctl status sshd
|
||||
|
||||
# 8. Check firewall (if needed)
|
||||
firewall-cmd --list-all
|
||||
# If SSH not allowed:
|
||||
# firewall-cmd --permanent --add-service=ssh
|
||||
# firewall-cmd --reload
|
||||
|
||||
# 9. Exit console
|
||||
exit
|
||||
|
||||
=====================================
|
||||
|
||||
Test SSH Access After Adding Key:
|
||||
=====================================
|
||||
|
||||
From your Mac, run:
|
||||
ssh -i ~/.ssh/id_ed25519 root@172.16.3.22
|
||||
|
||||
Should connect without password!
|
||||
|
||||
=====================================
|
||||
Reference in New Issue
Block a user