Unable to login using public key authentication

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.

 

See Also

Permission overview

Leave a Reply