Question 1120
Original unofficial RHEL 10 RHCSA skill-check scenario: A remote user's `.ssh` directory is world-writable, and public-key login is rejected by secure SSH settings. Which ongoing practice best prevents a recurrence?
Explanation
Correct Answer
In this RHEL 10 system administration case: A remote user's `.ssh` directory is world-writable, and public-key login is rejected by secure SSH settings. Underlying reason: SSH permission checks protect the integrity of authorized key material. The most direct, approved resolution is: Restore approved ownership and restrictive `.ssh` and `authorized_keys` modes. Confirm it by checking: The SSH server accepts the approved key without weakening server authentication policy. Sustain the fix by: Audit key-directory ownership and modes after restores. This is the INTENDED response for the best ongoing operational safeguard. It is a knowledge-check explanation, not a verified hands-on Red Hat exam answer;
Incorrect Answers
Ban private-key copying in access setup procedures. That is not sufficient for the reported RHEL task, because SSH permission checks protect the integrity of authorized key material.
Verify representative nested labels after data moves. That is not sufficient for the reported RHEL task, because SSH permission checks protect the integrity of authorized key material.
Document business justification for each enabled Boolean. That is not sufficient for the reported RHEL task, because SSH permission checks protect the integrity of authorized key material.