Added user to CentOS, Updated sshd_config with AllowUsers, Login denied
- by Gregg
CentOS 5.3. I can SSH into the system as root just fine. Added a user and set their password. They have shell access (/bin/bash). I can su to the account from root just fine. I updated /etc/ssh/sshd_config with:
AllowUsers myNewUser
And restarted sshd: /etc/init.d/sshd restart
When trying to ssh into the server with the new user, I get a permission denied. And yes, I've double and triple checked that I am using the correct password. Any help is appreciated.