TMA-LNX-SSH-IGNORERHOSTS
Ensure SSH IgnoreRhosts is enabled
SrednjaNivo 1Automatskalinux
Opis
Hardens the SSH daemon directive IgnoreRhosts.
Kako se proverava
Metod provere: Komanda ljuske
shell
sshd -T 2>/dev/null | grep -i '^ignorerhosts '- Očekivani izlaz
ignorerhosts yes
Kako se ispravlja
Metod ispravke: Izmena datoteke
- Datoteka
/etc/ssh/sshd_config- Linija zamene
IgnoreRhosts yes
Svojstva
- Operativni sistemi
- ubuntu-22.04, ubuntu-24.04, rocky-9
- Oznake
- sshserver
- Referenca
- CIS Linux Benchmark - Services / SSH Server Configuration (verify section number for your distro release)
Proverite ovaj računar
Pokrenite ovo na računaru za koji imate dozvolu za proveru. Skeniranje radi u režimu samo za čitanje.
shell
tmaegis scan --target linux