Using a key to allow putty (or SSH) to automatically log on to Linux is a solution for several problems __linux

Source: Internet
Author: User

When you log on to Linux with an SSH key, you encounter

Server responded "No Further authentication methods available"

No more authentication methods available error prompts, has not been able to log in from the Internet to find a variety of methods have not been able to solve the problem; In the case of an SSH login with this problem, the putty is also logged on, and the error message is "Server Refused our key ".

Workaround:

Configure the "/etc/ssh/sshd_config" file

Change the #strictmodes yes line to "Strictmodes no"

Restart Sshd,service sshd Restart

Try to log in with the key again and the problem is resolved.

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.