QuestionQ65

VerifiedSecurity

A systems administrator is setting up new Linux systems and must enable passwordless authentication between two servers. Which of the following commands should the administrator use?

Explanation

SSH public-key authentication requires generating a key pair and placing the client’s public key in the remote user’s ~/.ssh/authorized_keys file. ssh-keygen -t rsa creates the RSA key pair, and ssh-copy-id -i ~/.ssh/id_rsa.pub john@server2 installs its public key for john on server2.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!