Montag, 16. Mai 2016

Certs ssh authorized_keys automatic login does not work

Hi,

in case you are using CENTOS and you stored your authorized_keys in /home/USER/.ssh/ you may wondering, why an automatic login does not work.

Check the rights of your authorized_keys:

-rw-rw-r-- is too much.

This solves your problem (login as current user!)


chmod go-w ~/
chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys