CompTIA Linux+ XK0-005 Practice Question
An administrator needs to enable a fellow technician to access a remote Linux server for system management. Which of the following configurations will BEST ensure that the technician can connect securely without password authentication?
Provide the technician with the server password to use with SSH.
Modify the
~/.ssh/config
file on the technician's machine to include the server's information.Instruct the technician to use
ssh-add
followed by the server's IP to access the server.Use
ssh-keygen
to create a key pair andssh-copy-id
to copy the public key to the server.