sec:ssh
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| sec:ssh [2021/05/31 08:37] – [Verbindung mit Tunnel für VNC herstellen] admin | sec:ssh [2025/11/28 17:22] (aktuell) – [SSH-Demon konfigurieren:] admin | ||
|---|---|---|---|
| Zeile 3: | Zeile 3: | ||
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | **Standard: | ||
| + | * https:// | ||
| + | * https:// | ||
| + | * https:// | ||
| ===== SSH-Client ===== | ===== SSH-Client ===== | ||
| Zeile 24: | Zeile 30: | ||
| <code bash> | <code bash> | ||
| - | $ chmod 700 ~/.ssh && chmod 600 ~/.ssh/* | + | $ chmod 700 .ssh && chmod 600 .ssh/* |
| </ | </ | ||
| + | * [[https:// | ||
| * https:// | * https:// | ||
| * https:// | * https:// | ||
| Zeile 61: | Zeile 68: | ||
| </ | </ | ||
| - | Danach muss in **''/ | + | Danach muss ggf. in **''/ |
| + | ==== Troubleshooting: | ||
| + | - Berechtigungen für Verzeichnis und Dateien richtig gesetzt? | ||
| + | - Richtiger Username (nicht root, sondern Benutzername des jeweiligen Nutzers)? | ||
| + | - Public Key muss als 1 Zeile in '' | ||
| ==== Alternativ: ssh-copy-id ==== | ==== Alternativ: ssh-copy-id ==== | ||
| Zeile 69: | Zeile 80: | ||
| $ ssh-copy-id -i ~/ | $ ssh-copy-id -i ~/ | ||
| </ | </ | ||
| + | ===== SSH-Demon starten/ | ||
| + | <code bash> | ||
| + | sudo systemctl enable sshd # start sshd at boot | ||
| + | sudo systemctl start sshd | ||
| + | sudo systemctl restart sshd | ||
| + | </ | ||
| + | |||
| ===== SSH-Demon konfigurieren: | ===== SSH-Demon konfigurieren: | ||
| <code bash> | <code bash> | ||
sec/ssh.1622450221.txt.gz · Zuletzt geändert: von admin
