Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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  
+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

 
discard

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.