Public Key authentication failed

This bit looks like we used your private key to attempt a cryptographic login, then we had to try others because it was not accepted:

debug1: Trying private key: /home/leetom/.ssh/id_rsa
debug1: read PEM private key done: type RSA
debug3: sign_and_send_pubkey: RSA 68:51:b6:ed:cc:c2:54:f4:xx:15:41:d7:f5:4a:0e:da
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey,password

The simplest problem could be in your copying over of the public key, because I get the same response trying to authenticate with a key that I know the other end doesn't have here.

Rather than manually copying the id over, why not try ssh-copy-id - enter your password and it will update authorized_keys. That should (a) definitely select the same key as ssh should be selecting, (b) ensure you haven't accidentally added any formatting errors.

If that works for you, compare the line added to authorized_keys by ssh-copy-id and hopefully you'll understand what went wrong.


Permissions could be another sort of problem causing publickey authentication failures: check that your ~ and ~/.ssh directories are not readable by anybody except for your user (chmod 700 ~ && chmod 700 ~/.ssh could fix that).

EDIT: permissions 750 for ~ should be okay too.


By chance, when creating the authorized_keys file, have you misspelled your filename (since you have spelled it as authorzied_keys in the question (i and z exchanged), there is a possibility you have named the file the same way) In the ssh config file, the name of the file is specifically mentioned as

AuthorizedKeysFile %h/.ssh/authorized_keys

Hence, you need to be particular that the filename is the same. So just verify the filename.