[CentOS] SSH login from user with empty password

Dolev Farhi dolev at sys-blog.net
Thu Oct 10 14:01:20 UTC 2013


This error is when you ssh in (with PuTTY, for example) without
attaching the private key.


-------- Original Message --------
Subject: [CentOS] SSH login from user with empty password
From: Michael Schultz <m.schultz at srz.de>
Date: Thu, October 10, 2013 3:44 pm
To: centos at centos.org

Hello list,

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).

In /etc/ssh/sshd_config I've set:
PasswordAuthentication no
UsePAM no

If I set a password for the users, the public key auth works without any
problems.

Could anyone tell me what I'm missing here?


Thanks
Michael

_______________________________________________
CentOS mailing list
CentOS at centos.org
http://lists.centos.org/mailman/listinfo/centos



More information about the CentOS mailing list