TMA-LNX-PERM-SSHD-CONFIG
Ensure permissions on /etc/ssh/sshd_config are configured
YüksekDüzey 1Otomatiklinux
Açıklama
/etc/ssh/sshd_config must be 600 root:root.
Nasıl denetlenir
Denetim yöntemi: Kabuk komutu
shell
stat -Lc '%a %U %G' /etc/ssh/sshd_config- Beklenen çıktı
600 root root
Nasıl düzeltilir
Düzeltme yöntemi: Kabuk komutu
shell
chown root:root /etc/ssh/sshd_config && chmod 600 /etc/ssh/sshd_configÖzellikler
- İşletim sistemleri
- ubuntu-22.04, ubuntu-24.04, rocky-9
- Etiketler
- permissionsfiles
- Referans
- CIS Linux Benchmark - System File Permissions (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