changed ssh keys for root

This commit is contained in:
2026-03-15 22:57:23 +01:00
parent 4b4db6885b
commit 75882545c8
2 changed files with 13 additions and 4 deletions
+3 -3
View File
@@ -102,7 +102,7 @@ if [ ! -f "$SSH_DIR/id_ed25519" ]; then
cat > "$SSH_DIR/config" << 'SSHEOF'
Host aria-wohnung
HostName host.docker.internal
User duffy
User root
IdentityFile ~/.ssh/id_ed25519
StrictHostKeyChecking accept-new
SSHEOF
@@ -111,8 +111,8 @@ SSHEOF
chmod 644 "$SSH_DIR/config"
echo " Key generiert."
echo ""
echo " >>> ARIA's Public Key in authorized_keys eintragen:"
echo " cat $SSH_DIR/id_ed25519.pub >> ~/.ssh/authorized_keys"
echo " >>> ARIA's Public Key in root's authorized_keys auf der VM eintragen:"
echo " cat $SSH_DIR/id_ed25519.pub >> /root/.ssh/authorized_keys"
echo ""
read -p " Enter druecken wenn erledigt..."
else