BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

LPI 102-500 Exam - Topic 1 Question 113 Discussion

Posted by Judy on Jan 05, 2026 at 05:16 AM

What is a purpose of an SSH host key?

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


Get Premium 102-500 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
26 comments · newest first
DY
Dyan 7 months ago
E is interesting too, but it’s more about automation, not identity.
RO
Rosio 7 months ago
A sounds tempting, but it’s not about client identity.
RO
Rodolfo 7 months ago
Agreed! B makes sense. Clients need to trust the server.
MI
Miles 7 months ago
I think B is the right answer. It shows the server's identity.
EM
Emmanuel 7 months ago
E is interesting, but I think it’s more about automation than identity.
LA
Lajuana 8 months ago
I thought SSH keys were just for users, not hosts.
BE
Beckie 8 months ago
Wait, isn't it also used for user authentication?
MA
Martina 8 months ago
Totally agree with B! Super important for security.
LE
Lezlie 8 months ago
B is the right answer! It identifies the server.
RE
Reena 8 months ago
Haha, imagine if the SSH host key was just the password to the remote machine. That would be a security nightmare!
KA
Kanisha 8 months ago
E) is an interesting option, but I'm pretty sure that's not the main purpose of the SSH host key.
CA
Catarina 9 months ago
D) sounds like a good idea, but that's not how SSH keys work. I need to study this more.
CH
Christiane 9 months ago
I always forget which key is which. Maybe I should just use a password instead of all these keys.
MI
Micah 9 months ago
B) is the correct answer. The SSH host key is used to identify the server and prevent man-in-the-middle attacks.
AU
Audrie 10 months 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.
ST
Stanford 10 months 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?
AD
Adolph 10 months 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.
RE
Ressie 10 months 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.
WE
Weldon 10 months 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.
YU
Yuette 11 months 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.
SU
Sue 11 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.
WE
Weldon 11 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.
CI
Ciara 11 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.
LA
Lakeesha 5 months ago
↳ replying to Ciara
Definitely! Without it, clients can't trust the server.
NO
Novella 5 months ago
↳ replying to Ciara
Yeah, it’s all about verifying the server's identity.
WI
Willis 7 months ago
↳ replying to Ciara
I agree, option B makes the most sense.
0/2000 characters

Save Cancel