LX0-104 · Question #396
A user is attempting to connect to a remote server via SSH and receives the following message: The authenticity of host 'mail.example.com (208.77.188.166)' can't be established. RSA key fingerprint is
The correct answer is D. The server's SSH host key cannot be found in the list of known hosts.. This message indicates that the SSH client does not have a record of the remote server's host key in its known_hosts file, meaning it's the first time connecting or the server's key has changed.
Question
Options
- AThe RSA key fingerprint was found in the SpamCop database, indicating that the remote host is a
- BThe user's SSH client was unable to connect to the remote host's authentication agent for verification.
- CThe user's SSH client is incompatible with the server's RSA key.
- DThe server's SSH host key cannot be found in the list of known hosts.
How the community answered
(34 responses)- A6% (2)
- B3% (1)
- C18% (6)
- D74% (25)
Why each option
This message indicates that the SSH client does not have a record of the remote server's host key in its `known_hosts` file, meaning it's the first time connecting or the server's key has changed.
SSH host key fingerprints are not typically checked against spam databases; they are for cryptographic host identity verification.
The message indicates a problem establishing the host's authenticity itself, not an inability to connect to an authentication agent (like `ssh-agent`).
The message provides the RSA key fingerprint, implying compatibility; incompatibility would usually result in a different error, like unsupported cipher or key type.
The message 'The authenticity of host 'mail.example.com (...) can't be established' specifically means that the SSH client has not previously recorded the public host key for the server it is attempting to connect to. This typically happens on the first connection to a new server, or if the server's host key has legitimately changed.
Concept tested: SSH host key verification and known_hosts
Source: https://man7.org/linux/man-pages/man1/ssh.1.html
Topics
Community Discussion
No community discussion yet for this question.