New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI 102-500 Exam - Topic 1 Question 113 Discussion

Actual exam question for LPI's 102-500 exam
Question #: 113
Topic #: 1
[All 102-500 Questions]

What is a purpose of an SSH host key?

Show Suggested Answer Hide Answer
Suggested Answer: B

An SSH host key is a cryptographic key used for authenticating computers in the SSH protocol. Host keys are key pairs, typically using the RSA, DSA, or ECDSA algorithms. Public host keys are stored on and/or distributed to SSH clients, and private keys are stored on SSH servers. Each host (i.e., computer) should have a unique host key. Host keys are used for authentication towards the connecting client, analogous to user SSH keys.Host keys are generated using asymmetric encryption algorithms like RSA, DSA, or ECDSA algorithms12. When a client connects to the host, the host sends its public host key to the client, and the client verifies that the host key matches the one stored in its known hosts file. If the host key is unknown or has changed, the client will display a warning and prompt the user to accept or reject the host key. This is to prevent man-in-the-middle attacks, where an attacker intercepts the connection and pretends to be the legitimate host. The other options are either incorrect or irrelevant to the purpose of an SSH host key.Reference:

What is an SSH Host Key & How are They Configured?, What are SSH Host Keys? section

SSH Host Key Management Demystified, What are SSH host keys? section

What is SSH host key - omnisecu.com, first paragraph


Contribute your Thoughts:

0/2000 characters
Catarina
3 days ago
D) sounds like a good idea, but that's not how SSH keys work. I need to study this more.
upvoted 0 times
...
Christiane
8 days ago
I always forget which key is which. Maybe I should just use a password instead of all these keys.
upvoted 0 times
...
Micah
14 days ago
B) is the correct answer. The SSH host key is used to identify the server and prevent man-in-the-middle attacks.
upvoted 0 times
...
Audrie
19 days ago
I feel like option E could be relevant too, since it mentions automatic connections, but I think the main purpose is about identity verification, which leads back to B.
upvoted 0 times
...
Stanford
24 days ago
I’m a bit confused about the role of the host key. I thought it was more about user authentication, but that might be option D?
upvoted 0 times
...
Adolph
29 days ago
I remember practicing a question similar to this, and I think the host key is used to establish trust between the client and server. That sounds like option B again.
upvoted 0 times
...
Ressie
1 month ago
I think the SSH host key is mainly about verifying the server's identity, so maybe it's option B? But I'm not entirely sure.
upvoted 0 times
...
Weldon
1 month ago
Okay, let me think this through step-by-step. The host key is used to identify the server, not the client. So it's not option A or D. And it's not a root key for signing user keys, so it's not option C. That leaves option B, which seems to be the best fit.
upvoted 0 times
...
Yuette
1 month ago
I remember learning about this in class. The host key is used to verify the identity of the server, so I'm confident that option B is the correct answer.
upvoted 0 times
...
Sue
2 months ago
The host key is used to authenticate the server, not the client, right? So I'm going to go with option B as well.
upvoted 0 times
...
Weldon
2 months ago
Hmm, I'm a bit confused about the difference between a user key and a host key. I'll have to think this through carefully before answering.
upvoted 0 times
...
Ciara
2 months ago
I think the purpose of an SSH host key is to provide the server's identity information to connecting SSH clients, so I'll go with option B.
upvoted 0 times
...

Save Cancel