SSH-Verbindung einrichten
🚫 Never copy your private key to another machine.
SSH-Keys erstellen
ssh-keygen.exe -t ed25519 -C "id_vmsubuntu"
Dem SSH-Agenten den privaten Key bekannt geben
ssh-add .\id_vmsubuntu
Den public Key aud den Server kopieren
ℹ️ "ssh-copy-id" ist zur Zeit nicht in Windows implmentiert.
type $env:USERPROFILE\.ssh\id_vmsubuntu.pub | ssh holger@vmsubuntu2204d -p xxx "cat >> .ssh/authorized_keys"
zurück zur ==> Hauptseite