nerdexam
CompTIA

XK0-005 · Question #317

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 question implies an issue with SSH key-based authentication, indicating an authentication failure. The most direct and common alternative to resolve authentication issues when keys fail is to try password-based authentication.

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?

Options

  • APassword
  • BSSL
  • CSELinux
  • DOpenSSH

How the community answered

(32 responses)
  • A
    94% (30)
  • C
    3% (1)
  • D
    3% (1)

Why each option

The question implies an issue with SSH key-based authentication, indicating an authentication failure. The most direct and common alternative to resolve authentication issues when keys fail is to try password-based authentication.

APasswordCorrect

If SSH keys fail to connect, a common fallback or alternative method for accessing a server is password-based authentication, assuming the user knows the password and it is permitted by the SSH server configuration. This addresses the authentication problem directly.

BSSL

SSL (Secure Sockets Layer) is primarily used for securing web traffic and other application protocols, not for SSH authentication.

CSELinux

SELinux (Security-Enhanced Linux) is a security mechanism that can enforce mandatory access controls, but it typically would not prevent SSH key or password authentication itself unless very specifically misconfigured to block the SSH daemon.

DOpenSSH

OpenSSH is the software suite that provides SSH functionality; changing 'OpenSSH' itself is not a solution to an authentication problem but rather managing the software version or installation.

Concept tested: SSH authentication methods

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

Topics

#SSH#Authentication#Remote Access#Linux Administration

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice