SLEM-05-232040 - SLEM 5 SSH daemon public host key files must have mode 644 or less permissive.

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

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

Solution

Configure SLEM 5 SSH daemon public host key files have mode "644" or less permissive.

Note: SSH public key files may be found in other directories on the system depending on the installation.

Change the mode of public host key files under "/etc/ssh" to "644" with the following command:

> sudo chmod 644 /etc/ssh/ssh_host*key.pub

See Also

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