For centos remote login, you do not need to enter the account password

Source: Internet
Author: User

You can log on directly without entering the account password when switching to logon.

SSH remote login without entering the account password

1 ssh-keygen-t rsa // host input on the terminal for creating a key

2 ssh-copy-ID-I/root/. Ssh/id_rsa.pub "-P 22 root@192.168.1.65"

// Copy the key to the client/root/ssh/id_rsa.pub/host key location

"-P 22 root@192.168.1.65" // copy key to client/root/ssh/id_rsa.pub/host key location

-P 22 indicates that the port root is the client account @ 192.168.1.65 and the client IP address to be sent

Related Article

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.