nerdexam
Huawei

H12-891_V1.0 · Question #457

There is a Linux SSH server in the current network. The network administrator uses his own PC SSH to log in to the server for the first time and receives the following information. Which items in…

The correct answer is A. You can skip this prompt message through the SSH method in the Python Paramiko library, D. The client does not save the public key of the Linux server. When SSH-ing to a server for the first time, you receive a host key fingerprint warning because the client has no prior record of the server's identity - it has not yet saved the server's public key to ~/.ssh/known_hosts. D is correct because this prompt exists precisely due to…

QoS and Network Security

Question

There is a Linux SSH server in the current network. The network administrator uses his own PC SSH to log in to the server for the first time and receives the following information. Which items in the following description are correct? (Multiple choice)

Options

  • AYou can skip this prompt message through the SSH method in the Python Paramiko library,
  • BThe client does not save the private key of the Linux server
  • CYou can skip this prompt message through the SSH method in the Python Paramiko library,
  • DThe client does not save the public key of the Linux server

How the community answered

(33 responses)
  • A
    82% (27)
  • B
    12% (4)
  • C
    6% (2)

Explanation

When SSH-ing to a server for the first time, you receive a host key fingerprint warning because the client has no prior record of the server's identity - it has not yet saved the server's public key to ~/.ssh/known_hosts. D is correct because this prompt exists precisely due to the absence of a saved public key. A is correct because Python's Paramiko library lets you call client.set_missing_host_key_policy(paramiko.AutoAddPolicy()), which silently accepts unknown host keys and bypasses the interactive prompt entirely.

B is a distractor: the server's private key never leaves the server under any circumstance - that's a fundamental guarantee of asymmetric cryptography, not something specific to a first-time connection. Choosing B conflates private and public keys and describes a baseline fact, not the relevant behavior here.

C appears identical to A in the question as printed, which suggests a translation artifact; in the original, C likely contains a negation or different nuance that makes it false (e.g., claiming Paramiko cannot bypass the prompt).

Memory tip: Think "first time = no fingerprint on file." The public key gets saved to known_hosts on acceptance; the private key never travels anywhere. Paramiko's AutoAddPolicy is the exam's go-to answer for "how do scripts skip this prompt."

Topics

#SSH authentication#host key verification#asymmetric cryptography#Python Paramiko

Community Discussion

No community discussion yet for this question.

Full H12-891_V1.0 Practice