Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

my ssh has started to refuse users from out of the blue. I started to connect via Putty as root, me and other users.

login as: root
root@31.XX.XX.XXX's password:
Access denied

What could be wrong? I didn't change anything.

share|improve this question
Could you check your server logs ? You will find a more interesting information for debuging your problem – Dom Jan 4 '12 at 8:41
Can you post the output of ssh -v server_ip? – Khaled Jan 4 '12 at 8:47
Thank you guys for the advices. I find out, that the root isn't in allowed groups. So, solved by editing /etc/ssh/sshd_config! – Ginnyous Jan 4 '12 at 9:02
@Ginnyous Be careful with root login enabled - it's one less barrier for an attacker to overcome. – Shane Madden Jan 4 '12 at 22:39

By default root user is not allowed to login in SSH remote connection. Anyway I recommend you using a normal user to work, not root. You can always use sudo if you need it.

share|improve this answer

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.