On 10 Oct 2013 14:45, "Michael Schultz" <[email protected]> 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.
_______________________________________________
CentOS mailing list
[email protected]
http://lists.centos.org/mailman/listinfo/centos

Reply via email to