TMAegisBeta
Više pravila za linux

Linux distributions

TMA-LNX-SSH-HOSTBASED

Ensure SSH HostbasedAuthentication is disabled

SrednjaNivo 1Automatskalinux

Opis

Hardens the SSH daemon directive HostbasedAuthentication.

Kako se proverava

Metod provere: Komanda ljuske

shell
sshd -T 2>/dev/null | grep -i '^hostbasedauthentication '
Očekivani izlaz
hostbasedauthentication no

Kako se ispravlja

Metod ispravke: Izmena datoteke

Datoteka
/etc/ssh/sshd_config
Linija zamene
HostbasedAuthentication no

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