snippets:sshd_config
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende Überarbeitung | |||
| snippets:sshd_config [2025/04/23 21:12] – Branislav Zeljak | snippets:sshd_config [Unbekanntes Datum] (aktuell) – gelöscht - Externe Bearbeitung (Unbekanntes Datum) 127.0.0.1 | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| - | ===== sshd_config ===== | ||
| - | (2025.02) | ||
| - | **Minimal Einstellung für sshd** | ||
| - | |||
| - | < | ||
| - | Include / | ||
| - | Port < | ||
| - | PasswordAuthentication no | ||
| - | PermitRootLogin no | ||
| - | KbdInteractiveAuthentication no | ||
| - | UsePAM yes | ||
| - | X11Forwarding yes | ||
| - | PrintMotd no | ||
| - | AcceptEnv LANG LC_* | ||
| - | Subsystem sftp / | ||
| - | </ | ||
| - | |||
| - | Neuere Versionen der Linuxdistributionen verwenden sshd_conf.d um sshd Modularer zu Konfigurieren. | ||
| - | |||
| - | Bessere Übersichtlichkeit bei vielen Einstellungen.\\ | ||
| - | Paket- oder distributionsspezifische Konfigurationen können eigene Dateien einfügen, ohne die Hauptdatei zu verändern.\\ | ||
| - | Priorisierung: | ||
| - | |||
| - | < | ||
| - | Include / | ||
| - | KbdInteractiveAuthentication no | ||
| - | UsePAM yes | ||
| - | X11Forwarding yes | ||
| - | PrintMotd no | ||
| - | AcceptEnv LANG LC_* | ||
| - | Subsystem sftp / | ||
| - | </ | ||
| - | |||
| - | < | ||
| - | Port < | ||
| - | PermitRootLogin no | ||
| - | PasswordAuthentication no | ||
| - | AuthenticationMethods publickey | ||
| - | </ | ||
