exam questions

Exam 102-500 All Questions

View all questions & answers for the 102-500 exam

Exam 102-500 topic 1 question 48 discussion

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

What is a purpose of an SSH host key?

  • A. It must be sent by any SSH client in addition to a user key in order to identify the client's host.
  • B. It is root key by which all user SSH keys must be signed.
  • C. It provides the server's identity information to connecting SSH clients.
  • D. It authenticates any user that logs into a remote machine from the key's host.
  • E. It is used by system services like cron, syslog or a backup job to automatically connect to remote hosts.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Lazylinux
Highly Voted 10 months, 3 weeks ago
Selected Answer: C
Hosts Keys=> It provides the server's identity information to connecting SSH clients and are stored in the /etc/ssh directory of the server, basically they are the finger prints presented to the connecting party (client) to accept the identity of the host server and connection is established once the client accepts the presented finger-prints/host keys.
upvoted 7 times
...
ledlong
Most Recent 1 year, 5 months ago
I think the answer is D. The main purpose of using SSH key is that instead of using the password for every command employing SSH, we can use a key. To do so, in the client, you need to generate a pair of ssh keys for example id_rsa and id_rsa.pub and then we use ssh-copy-id to securely transfer the public key to the server and also to store this public key into a file named ~/.ssh/authorized_keys
upvoted 2 times
drliu1202
7 months, 2 weeks ago
The correct answer is C. Ledlong is talking about ssh authentication keys.
upvoted 2 times
drliu1202
7 months, 2 weeks ago
Reference https://learning.lpi.org/en/learning-materials/102-500/110/110.3/110.3_01/
upvoted 2 times
...
...
anhcq
1 year, 3 months ago
But this question is asking for ssh hostkey, it's server identity and stored in ~/.ssh/known_hosts on client Correct answer is C
upvoted 3 times
...
...
Jodelo
1 year, 8 months ago
~/.ssh/authorized_keys: Holds a list of authorized public keys for servers. When the client connects to a server, the server authenticates the client by checking its signed public key stored within this file ~/.ssh/known_hosts: Contains DSA host keys of SSH servers accessed by the user. This file is very important for ensuring that the SSH client is connecting the correct SSH server.
upvoted 4 times
...
demarko
2 years ago
is this correct?
upvoted 1 times
thelmasmorgan2
1 year, 11 months ago
Yes, because the first time the system ask you to accept and store the server's public key. In order to avoid man in the middle attacks. This public key is different from user's public key, beware
upvoted 6 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago