QuestionQ13

Troubleshooting

A Linux administrator has just completed configuration of passwordless SSH authentication between two nodes. However, during test validation, the remote host requests a password. Given the following logs:

Question Image

Which of the following is the most likely cause of this problem?

Explanation

SELinux is enforcing and the audit denial explicitly shows the sshd_t domain being blocked from reading authorized_keys, whose target type is home_root_t. SSH authorization files must have the SELinux file context permitted for SSH home content (commonly ssh_home_t); an incorrect label prevents sshd from reading the key even when normal Unix ownership and mode are correct.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!