A systems administrator is tasked with setting up key-based SSH authentication. In which of the following locations should the administrator place the public keys for the server?
The location where the systems administrator should place the public keys for the server to set up key-based SSH authentication is option C, ~/.ssh/authorized_keys.
The authorized_keys file is located in the .ssh directory in the home directory of the user account that is being used to log in to the remote server. This file contains a list of public keys that are allowed to authenticate the user when logging in to the server via SSH.
To set up key-based SSH authentication, the systems administrator should copy the public key(s) of the user(s) to the remote server's authorized_keys file using a secure method such as scp. Once the public key(s) have been added to the file, the user(s) should be able to log in to the server using their corresponding private key(s) without being prompted for a password.
Answer is C
"After that, copy the new public key to the server system's ~/.ssh/authorized_keys filesystem using the ssh‐copy‐id utility."
upvoted 1 times
...
This section is not available anymore. Please use the main Exam Page.XK0-005 Exam Questions
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.
Alizadeh
8 months, 3 weeks agolinux_admin
1 year, 2 months agoCkl22
1 year, 4 months ago