SSH Zugriff
File-/Folder Structure |
Description |
~/.ssh |
SSH Ordner im Home Verzeichnis |
~/.ssh/id_rsa |
Dein Private Key (niemals an andere übermitteln!!) |
~/.ssh/id_rsa.pub |
Dein Public Key (zum übermitteln an Dritte für Remote-Server Einrichtung) |
~/.ssh/authorized_keys |
Public Keys die Zugriff auf den aktuellen Host haben |
~/.ssh/known_hosts |
Einträge zu (trusted) Hosts (Einträge werden i.d.R. automatisch ermittelt und per User Prompt zur Bestätigung erfragt) |
SSH Commands |
Description |
ssh-keygen -t rsa -b 4096 -C "your_email@example.com" | Erstelle einen SSH Key mit 4096bit Encryption |
ssh -Tv git@github.com | Prüfe eine SSH Verbindung auf Korrektheit |