1

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
[email protected]'s password:
Access denied

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

4
  • Could you check your server logs ? You will find a more interesting information for debuging your problem
    – Dom
    Jan 4, 2012 at 8:41
  • Can you post the output of ssh -v server_ip?
    – Khaled
    Jan 4, 2012 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, 2012 at 9:02
  • 3
    @Ginnyous Be careful with root login enabled - it's one less barrier for an attacker to overcome. Jan 4, 2012 at 22:39

1 Answer 1

3

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .