Password is still required after authorized_keys is configured for ssh

Source: Internet
Author: User
After configuring authorized_keys in ssh, you still need to enter the password. Note that the $ HOME/. ssh directory or the $ HOME directory has the best permission of 700, and I will keep up with it here. Note that the uthorized_keys permission chmod644authorized_keys should also be noted. Generally, you still need to enter the password after configuring authorized_keys in 2 .. ssh. Note that the permissions of the $ HOME/. ssh directory or the $ HOME directory are preferably 700, and I will keep up with you here. Note that the uthorized_keys permission chmod 644 authorized_keys should also be noted. Generally, you can run the following two commands: ssh-keygen-t dsa-p'-f ~ /. Ssh/id_dsa the id_dsa and id_dsa.pub (public key) commands are generated in the. ssh Directory of the user directory: cat ~ /. Ssh/id_dsa.pub> ~ /. Ssh/authorized_keys add the public key to authorized_keys.

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.