Don't know how to add SSH user

mcdcompanies

New member
Joined
Oct 5, 2007
Messages
3
I'm trying to add a user that will have SSH access to our server. When I try to create a user in DirectAdmin it wants me to assign an IP address, but all 4 of my IPs have already been assigned to other users. I added a user logging onto the server as root, but for some reason I try to log in as that user the server says that access is denied. Anybody have any ideas how to add a user like this? Thanks.

Operating system is CentOS 4.2
 
Check the file

/etc/ssh/sshd_config

Make sure the user is in the AllowUsers field

You might have to restart sshd after editing the config file.

Also when adding users on directadmin you should have at least one ip on your server that says shared that you can use for new users.
 
Back
Top