Today's colleague gave a virtual machine, operating system version:
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/73/24/wKiom1X2SzCyU_wZAAAthx-UE-k132.jpg "title=" Version "alt=" Wkiom1x2szcyu_wzaaathx-ue-k132.jpg "/>
Because you do not know the original password, in single-user mode to modify the root password, using the SSH tool can not be logged in, prompting the server to reject the password
I am here to remember my resolution steps:
To turn off the firewall:
This check status is off, seemingly with the firewall also does not matter, because you can pop up the box to enter the account password
To turn off SELinux:
This is the choice disable.
From the Internet to find relevant information, it is said that the SSH configuration may not allow the root SSH login, nothing but modify the following places
Content in /etc/ssh/ssh_conf and /etc/ssh/sshd_conf
Passwordauthentication Yes
Permitrootlogin Yes
Re-install the SSH packet;
The above four methods have tried is not, after eating, the brain suddenly flashed an impression, 6.4 in the password requirements a little higher, is not because I in single-user mode modified password complexity is too low, and then dead Horse when live horse medicine, re-modify the root password, unexpectedly ok
To this solve my appealing demand ah, hope to have a brother encounter this problem can refer to, brother is just contact soon, also hope not to spray ah
This article is from the "Cyalias" blog, make sure to keep this source http://cyalias.blog.51cto.com/3409204/1694544
"Resolved" rhel6.4 system root uses SSH login prompt server to deny password