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.
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
~/.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.
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
...
...
Log in to ExamTopics
Sign in:
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.
Lazylinux
Highly Voted 10 months, 3 weeks agoledlong
Most Recent 1 year, 5 months agodrliu1202
7 months, 2 weeks agodrliu1202
7 months, 2 weeks agoanhcq
1 year, 3 months agoJodelo
1 year, 8 months agodemarko
2 years agothelmasmorgan2
1 year, 11 months ago