nerdexam
CompTIA

XK0-005 · Question #1312

A systems administrator is attempting to access a server by SSH. The Linux administrator ensures that the SSH keys on the remote server were unable to connect. The following error message is being…

The correct answer is A. Password. The error message 'Authentication failure' when attempting to SSH indicates that the provided credentials, specifically the password or private key passphrase, are incorrect.

Troubleshooting

Question

A systems administrator is attempting to access a server by SSH. The Linux administrator ensures that the SSH keys on the remote server were unable to connect. The following error message is being displayed: Which of the following needs to be changed on order for the administrator to access the server via SSH?

Exhibit

XK0-005 question #1312 exhibit

Options

  • APassword
  • BSSL
  • CSELinux
  • DOpenSSH

How the community answered

(51 responses)
  • A
    71% (36)
  • B
    18% (9)
  • C
    4% (2)
  • D
    8% (4)

Why each option

The error message 'Authentication failure' when attempting to SSH indicates that the provided credentials, specifically the password or private key passphrase, are incorrect.

APasswordCorrect

When an SSH server displays 'Authentication failure', it means the credentials provided, such as the password for password-based authentication or the passphrase for a private key, did not match the expected authentication information.

BSSL

SSL (Secure Sockets Layer) is related to secure communication protocols, but an 'Authentication failure' typically points to incorrect login credentials rather than an SSL configuration issue.

CSELinux

SELinux (Security-Enhanced Linux) is a security mechanism that could restrict access, but its errors usually manifest as 'Permission denied' or similar messages, not 'Authentication failure' specifically related to credentials.

DOpenSSH

OpenSSH is the software itself; while misconfiguration could lead to issues, an 'Authentication failure' error message points directly to incorrect credentials, not a problem with the OpenSSH daemon's core functionality or installation.

Concept tested: SSH authentication troubleshooting

Source: https://www.ssh.com/academy/ssh/authentication

Topics

#SSH#Authentication#Password Management#Access Troubleshooting

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice