UCF STIG Viewer Logo

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


Overview

Finding ID Version Rule ID IA Controls Severity
V-22471 GEN005522 SV-63841r1_rule Medium
Description
If a public host key file is modified by an unauthorized user, the SSH service may be compromised.
STIG Date
Oracle Linux 5 Security Technical Implementation Guide 2020-02-25

Details

Check Text ( C-52389r2_chk )
Check the permissions for SSH public host key files.

# ls -lL /etc/ssh/*key.pub

If any file has a mode more permissive than 0644, this is a finding.
Fix Text (F-54425r2_fix)
Change the permissions for the SSH public host key files.

# chmod 0644 /etc/ssh/*key.pub