ssh not accepting valid passwords

TechBoyJK

Lifer
Oct 17, 2002
16,699
60
91
I have a machine running CentOS, and all of a sudden it stopped accepting good passwords via ssh. I can login at the console as root with my password, but if I try and ssh to it, it will give me the login prompt but it won't accept my root password..

Any ideas? I'm googling now but I haven't found anything yet.. I'm really curious as to how to fix this and what went wrong.

-Jason
 

p0lar

Senior member
Nov 16, 2002
634
0
76
Originally posted by: TechBoyJK
I have a machine running CentOS, and all of a sudden it stopped accepting good passwords via ssh. I can login at the console as root with my password, but if I try and ssh to it, it will give me the login prompt but it won't accept my root password..

Any ideas? I'm googling now but I haven't found anything yet.. I'm really curious as to how to fix this and what went wrong.

-Jason

The paranoiac in me would run a MD5 summer on the sshd binary that's currently being executed as well as another one from a system with the same version of CentOS/upgrades.

The practician in me would check /etc/ssh/sshd_config to see if PasswordAuthentication is set to no.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Usually root logins via SSH are disabled, if you had enabled it yourself did you happen to upgrade the ssh package or something recently that might have turned that off?