Windows---Xshell Tools certificate-based, password-free login Linux system (supplemental instructions)

Source: Internet
Author: User
Original: 51372982 (it is very detailed here, I only do a few additions)

1. Always prompt when configuration is complete (the selected user key is not registered on the remote host, please try again.) When you hit a lot, you automatically disconnect, so what's the problem? Obviously already configured the public key file, also put in the corresponding location.

(1) The user corresponds to the correct, you log on that user, put the file to the appropriate place,/etc/ssh/sshd_config file inside the path to specify the correct

(2) Permissions: Through/var/log/secrue view error, general is about what/root no permissions or configuration is correct, configuration certainly no problem, to see permissions.
1./root/(the owner of the directory itself must be root, and read and write execute permissions, the owning group does not matter, it is important that the owner is root)
2./root/.ssh/(the owner of this hidden directory must also be root)
3./root/.ssh/authorized_keys? Ibid.

In the afternoon, continue to share with you some basic Linux commands.

Windows---Xshell Tools certificate-based, password-free login Linux system (supplemental instructions)

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.