Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Been looking for an answer to this for hours now, and can't find one.

I'm trying to SSH into my Ubuntu server. I can login with no problem as root, but as soon as I try to create another user and login, I get "access denied" messages.

I'm certain that the password I'm using is correct. The user's home directory is at /home/USERNAME and has 0755 permissions.

Can anyone help me out?

share|improve this question
What is the shell of the other user? What command did you use to create it? What error message are you getting? Where are you sshing from? – terdon Apr 2 '13 at 16:19

Not every user is allowed to login via ssh. You have to authorize the users you want to have access in /etc/ssh/sshd_config. Check out this tutorial for more details.

share|improve this answer
I've checked my sshd_config file, and there doesn't appear to be anything to prevent users logging in. My sshd_config file: – VettelS Apr 2 '13 at 15:39
@VettelS if you had checked the link in my answer you would have seen that you need to add the key "AllowUsers" followed by the users you want to grant access to your conf. Alternatively you can add the users to the group sshusers as this group is allowed in your conf by the line "AllowGroups sshusers". – Simon Apr 2 '13 at 16:34
There is absolutely nothing in the stock Ubuntu sshd config that requires modifying the sshd_config file per-user. – Zoredache Apr 2 '13 at 16:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.