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.

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
1  
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
3  
@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
add comment

1 Answer

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
add comment

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.