Setting up sshd for Public Key Authentication

To create key only authentication the users public key needs to be put on the server in their home directory under .ssh/authorizated_keys. Create the users private key on their workstation: # ssh-keygen -t rsa Send the private key to the server: # cat .ssh/ | ssh newmachine “cat >> .ssh/authorized_keys” Make sure the authorized_keys file […]