QuestionQ2

VerifiedSystem Security

Which local file’s contents must be sent to a remote SSH server so that you can log in to that remote server using SSH keys?

Explanation

SSH key-based authentication works by placing the client’s public key in the remote account’s ~/.ssh/authorized_keys file. For an RSA key pair, that public key is stored locally in ~/.ssh/id_rsa.pub; the private key must not be transmitted. OpenSSH sshd(8) manual

Learn more

Community Discussion

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