Server Fault is a question and answer site for system and network administrators. 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

After adding AllowUsers xyz to /etc/ssh/sshd_config and restarting the server. I am unable to login with that user or either super user? To note that the access of the super user is still enabled in the ssh.Any way to debug this.

share|improve this question

If you can get into the server, check /var/log/secure (Red Hat based) or /var/log/access.log (I think) on Debian based, that should tell you the problem.

If you can't get into the server, that's your first priority.

share|improve this answer
+1 for Right places to look - also friendly reminder: When editing your sshd config never close the session until you've restarted sshd & verified you can log in to the box still. – voretaq7 Jan 20 '11 at 22:28

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.