Linux distributions
TMA-LNX-SSH-IGNORERHOSTS
Ensure SSH IgnoreRhosts is enabled
OrtaDüzey 1Otomatiklinux
Açıklama
Hardens the SSH daemon directive IgnoreRhosts.
Nasıl denetlenir
Denetim yöntemi: Kabuk komutu
shell
sshd -T 2>/dev/null | grep -i '^ignorerhosts '- Beklenen çıktı
ignorerhosts yes
Nasıl düzeltilir
Düzeltme yöntemi: Dosya düzenleme
- Dosya
/etc/ssh/sshd_config- Değiştirilecek satır
IgnoreRhosts yes
Özellikler
- İşletim sistemleri
- ubuntu-22.04, ubuntu-24.04, rocky-9
- Etiketler
- sshserver
- Referans
- CIS Linux Benchmark - Services / SSH Server Configuration (verify section number for your distro release)
Bu ana makineyi denetle
Bunu denetleme izniniz olan bir makinede çalıştırın. Tarama salt okunurdur.
shell
tmaegis scan --target linux