[CentOS] SSH login from user with empty password

Thu Oct 10 19:49:21 UTC 2013
James Hogarth <james.hogarth at gmail.com>

On 10 Oct 2013 14:45, "Michael Schultz" <m.schultz at srz.de> wrote:
> on a CentOS 6.4 machine I'm creating accounts with empty passwords. Each
> user's public key is located in <user's home>/.ssh/authorized_keys.
>
> When trying to ssh into that machine, following error message is
displayed:
> Permission denied (publickey).
>

Check /var/log/secure on the server for more details...

Check the permissions on the file and .ssh directory... Needs to be owned
by the user and 600 on the file... This is a very common issue...

Also check context on the file and folder if selinux is enabled.