Linux distributions
TMA-LNX-SSH-HOSTBASED
Ensure SSH HostbasedAuthentication is disabled
MittelStufe 1Automatisiertlinux
Beschreibung
Hardens the SSH daemon directive HostbasedAuthentication.
So wird geprüft
Prüfmethode: Shell-Befehl
shell
sshd -T 2>/dev/null | grep -i '^hostbasedauthentication '- Erwartete Ausgabe
hostbasedauthentication no
So wird behoben
Behebungsmethode: Dateibearbeitung
- Datei
/etc/ssh/sshd_config- Ersetzungszeile
HostbasedAuthentication no
Eigenschaften
- Betriebssysteme
- ubuntu-22.04, ubuntu-24.04, rocky-9
- Tags
- sshserver
- Referenz
- CIS Linux Benchmark - Services / SSH Server Configuration (verify section number for your distro release)
Diesen Host prüfen
Führen Sie dies auf einem Rechner aus, den Sie prüfen dürfen. Der Scan ist schreibgeschützt.
shell
tmaegis scan --target linux