GEN005522 - The SSH public host key files must have mode 0644 or less permissive.

Information

If a public host key file is modified by an unauthorized user, the SSH service may be compromised.

Solution

Change the permissions for the SSH public host key files.
# chmod 0644 /etc/ssh/*key.pub

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_SOL_10_SPARC_V2R4_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-226993r603265_rule, STIG-ID|GEN005522, STIG-Legacy|SV-26764, STIG-Legacy|V-22471, Vuln-ID|V-226993

Plugin: Unix

Control ID: c2c7ea8396bf0e6109da45bc8255ce5e59a353d848b1729a3bd3dbfa5b06ba1f