Overview
Ensure correct permissions on ~/.ssh/
are 700
(u: rwx, g: -, o: -) and ~/.ssh/authorized_keys
is 600
(u: rw-, g: -, o: -). Provided the permissions are correct, then make sure your public key is listed in the authorized_keys
file.