SSH Access
| File-/Folder Structure |
Description |
Security |
| ~ |
User Home Directory (e.g. ~ can be /home/username) |
|
| ~/.ssh |
SSH Ordner im Home Verzeichnis |
|
| ~/.ssh/config |
Erstelle einen neuen Host Eintrag in der ssh config, der Aufbau sollte wie folgt aussehen:
Eine Verbindung kann dann wie folgt durchgeführt werden:
|
|
| ~/.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 someHostAliasName |
Connect to a host from your ~/.ssh/config |
ssh -Tv git@github.com
ssh -o PubkeyAuthentication=no -o PreferredAuthentications=password someHostAliasName Check if a host allows password authentication