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/id_rsa.pub | ssh newmachine "