Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
ssh [2021/04/01 18:31] – angelegt Fabian Horst | ssh [2023/01/20 14:32] (aktuell) – Fabian Horst | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | ====== Login ohne Key Checking ====== | ||
+ | Macht ssh-rsa wieder funktionsfähig (Ubuntu 22.04...), checkt keine Keys und sucht vorhanden im Schwarzen Loch ;-) | ||
+ | |||
+ | < | ||
+ | |||
+ | ===== SSH ===== | ||
+ | |||
+ | Based on: https:// | ||
+ | |||
StrictHostKeyChecking no kein Key Checking in config | StrictHostKeyChecking no kein Key Checking in config | ||
+ | |||
+ | < | ||
+ | Include / | ||
+ | |||
+ | Port 22 | ||
+ | MaxAuthTries 2 | ||
+ | AllowTcpForwarding no | ||
+ | X11Forwarding no | ||
+ | AllowAgentForwarding no | ||
+ | |||
+ | # root login verbieten= no | ||
+ | PermitRootLogin yes | ||
+ | |||
+ | ClientAliveInterval 300 | ||
+ | ClientAliveCountMax 1 | ||
+ | |||
+ | PubkeyAuthentication yes | ||
+ | PasswordAuthentication no | ||
+ | ChallengeResponseAuthentication no | ||
+ | UsePAM no | ||
+ | |||
+ | PrintMotd no | ||
+ | |||
+ | AcceptEnv LANG LC_* | ||
+ | # override default of no subsystems | ||
+ | Subsystem sftp / | ||
+ | </ | ||
+ | |||
+ | Einstellungen testen: | ||
+ | < | ||
+ | < | ||
+ | |||
+ | Fail2Ban: | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | |||
+ | Aktuelle " | ||
+ | < | ||
+ | |||
+ | Neue Einstellungen laden: | ||
+ | < | ||
+ | |||
+ | |||
+ | Schickes Dateien kopieren mit: | ||
+ | |||
+ | https:// | ||
+ |