Quantcast
Channel: CentOS » ssh
Viewing all articles
Browse latest Browse all 28

SSH Login From User With Empty Password

$
0
0

Hello list,

on a CentOS 6.4 machine I’m creating accounts with empty passwords. Each user’s public key is located in /.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


Viewing all articles
Browse latest Browse all 28

Trending Articles