When the root of putty in FreeBSD appears using keyboard-interactive authentication how to solve?

Source: Internet
Author: User
What to do if the using Keyboard-interactive authentication appears in our FreeBSD.
We restarted FreeBSD in the virtual machine. Terminal operation: Vi/etc/ssh/sshd_config

entered the VI interface. Start looking for #permitrootlogin No. Enter a search character on the keyboard. namely:/. You can enter permit after/. You will see that the cursor has moved to what you are looking for. When you see that the cursor has moved to what you are looking for. Move around with the top and bottom keys. Move to the front of this line. There is a # key. Get rid of this. That is, the X key on the dot keyboard. To delete. Click the next key on the keyboard to move to: space No will no delete. That is, the X key removes the no key. Change to Yes. You can do it. Then follow the procedure just now. Continue to find #passwordauthentication No. Also follow the method you have just done to remove the # first. Move the cursor to the no place. Change to Yes. Then click ESC and enter shift+:. Then enter the wq! on the keyboard to complete, and then appear www# this thing. Input: Reboot to reboot. Then enter your IP address from the putty. Enter the putty. Input: Root. Enter your password again and no such situation will occur again.


From http://blog.sina.com.cn/s/blog_942cfecd0101315j.html

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.