TMA-LNX-SSH-IGNORERHOSTS
Ensure SSH IgnoreRhosts is enabled
보통레벨 1자동linux
설명
Hardens the SSH daemon directive IgnoreRhosts.
점검 방법
감사 방식: 셸 명령
shell
sshd -T 2>/dev/null | grep -i '^ignorerhosts '- 예상 출력
ignorerhosts yes
조치 방법
조치 방식: 파일 편집
- 파일
/etc/ssh/sshd_config- 대체할 줄
IgnoreRhosts yes
속성
- 운영 체제
- ubuntu-22.04, ubuntu-24.04, rocky-9
- 태그
- sshserver
- 참고 자료
- CIS Linux Benchmark - Services / SSH Server Configuration (verify section number for your distro release)
이 호스트 점검하기
감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.
shell
tmaegis scan --target linux