Verify Permissions on SSH Server Public *.pub Key Files
An XCCDF Rule
Description
To properly set the permissions of /etc/ssh/*.pub
, run the command:
$ sudo chmod 0644 /etc/ssh/*.pub
Rationale
If a public host key file is modified by an unauthorized user, the SSH service may be compromised.
- ID
- xccdf_org.ssgproject.content_rule_file_permissions_sshd_pub_key
- Severity
- Medium
- References
- Updated