CentoOS SSH Access
- by Rodrigo
I'm executed this commands with root user i'm on a CentOS 6.3 server:
#useradd newuser
#passwd newuser
#visudo
then I added this line at end of file:
AllowUsers newuser
#service sshd restart
#exit
Now, I can't access server with deployer or root user!
Both accounts return:
**Permission denied, please try again.**
Any suggestions?
EDIT: Why add AllowUsers newuser dont allows newuser to login by ssh?