TMA-LNX-PERM-SSHD-CONFIG
Ensure permissions on /etc/ssh/sshd_config are configured
높음레벨 1자동linux
설명
/etc/ssh/sshd_config must be 600 root:root.
점검 방법
감사 방식: 셸 명령
shell
stat -Lc '%a %U %G' /etc/ssh/sshd_config- 예상 출력
600 root root
조치 방법
조치 방식: 셸 명령
shell
chown root:root /etc/ssh/sshd_config && chmod 600 /etc/ssh/sshd_config속성
- 운영 체제
- ubuntu-22.04, ubuntu-24.04, rocky-9
- 태그
- permissionsfiles
- 참고 자료
- CIS Linux Benchmark - System File Permissions (verify section number for your distro release)
이 호스트 점검하기
감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.
shell
tmaegis scan --target linux