SV-215321r508663_rule
V-215321
SRG-OS-000067-GPOS-00035
AIX7-00-003004
CAT II
10
Change the permissions for the SSH private host key files:
# chmod 0600 /etc/ssh/*key
Check the permissions for SSH private host key files:
# ls -lL /etc/ssh/*key
The above command should yield the following output:
-rw------- 1 root system 668 Jan 18 2017 /etc/ssh/ssh_host_dsa_key
-rw------- 1 root system 227 Jan 18 2017 /etc/ssh/ssh_host_ecdsa_key
-rw------- 1 root system 965 Jan 18 2017 /etc/ssh/ssh_host_key
-rw------- 1 root system 1675 Jan 18 2017 /etc/ssh/ssh_host_rsa_key
If any file has a mode more permissive than "0600", this is a finding.
V-215321
False
AIX7-00-003004
Check the permissions for SSH private host key files:
# ls -lL /etc/ssh/*key
The above command should yield the following output:
-rw------- 1 root system 668 Jan 18 2017 /etc/ssh/ssh_host_dsa_key
-rw------- 1 root system 227 Jan 18 2017 /etc/ssh/ssh_host_ecdsa_key
-rw------- 1 root system 965 Jan 18 2017 /etc/ssh/ssh_host_key
-rw------- 1 root system 1675 Jan 18 2017 /etc/ssh/ssh_host_rsa_key
If any file has a mode more permissive than "0600", this is a finding.
M
4012