sec:ssh
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
sec:ssh [2019/12/25 15:52] – [Alternativ: ssh-copy-id] 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 ==== | ||
sec/ssh.1577289124.txt.gz · Zuletzt geändert: 2019/12/25 15:52 von admin