sec:ssh
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
| sec:ssh [2019/12/25 15:51] – angelegt admin | sec:ssh [2023/12/03 18:54] (aktuell) – [Permissions] 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 45: | Zeile 52: | ||
| * http:// | * http:// | ||
| + | |||
| + | **Forward local:4567 port via remote Port:8080** | ||
| + | <code bash> | ||
| + | ssh -R *: | ||
| + | </ | ||
| + | * https:// | ||
| ===== SSH-Server ===== | ===== SSH-Server ===== | ||
| Zeile 55: | 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 ==== | ||
| Funktioniert z.B. vom existierenden FreeBSD-Server zu einem neu aufgesetzten Linux-System mit Passwort-Authentisierung | Funktioniert z.B. vom existierenden FreeBSD-Server zu einem neu aufgesetzten Linux-System mit Passwort-Authentisierung | ||
| <code bash> | <code bash> | ||
| - | $ ssh-copy-id -i ~/ | + | $ ssh-copy-id -i ~/ |
| </ | </ | ||
| ===== SSH-Demon konfigurieren: | ===== SSH-Demon konfigurieren: | ||
sec/ssh.1577289074.txt.gz · Zuletzt geändert: von admin
