"Resolved" rhel6.4 system root uses SSH login prompt server to deny password

Source: Internet
Author: User

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:

    1. 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

    2. To turn off SELinux:

      This is the choice disable.

    3. 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

    4. 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.