CompTIACompTIA
XK0-005 · Question #1651
XK0-005 Question #1651: Real Exam Question with Answer & Explanation
The correct answer is B: The developer's account has been locked out.. The developer is unable to log in to the server via SSH because their account has been locked, which prevents any successful authentication attempts.
Troubleshooting
Question
A developer is unable to access a Linux server via SSH. Given the following output: Which of the following explains why the developer is unable to log in to the server?
Options
- AThe developer's private key has been deleted from the server.
- BThe developer's account has been locked out.
- CThe developer's public key is in the wrong location.
- DSSH has been disabled for user log-in.
Explanation
The developer is unable to log in to the server via SSH because their account has been locked, which prevents any successful authentication attempts.
Common mistakes.
- A. A private key resides on the client machine, not the server. If the corresponding public key on the server was deleted, authentication would fail, but it wouldn't directly lead to an 'account locked' state.
- C. If the developer's public key is in the wrong location on the server, SSH key authentication would fail, but this failure itself does not inherently result in an account lockout unless a brute-force policy is triggered.
- D. If SSH was disabled for user login, the connection would typically be refused at an earlier stage, and the server would not usually provide an 'account locked' message.
Concept tested. SSH login issues, account lockout
Topics
#SSH#Account Lockout#User Authentication#Linux Troubleshooting
Community Discussion
No community discussion yet for this question.