Operation of ssh mutual trust on LINUX

Source: Internet
Author: User
On LINUX, if you want to access 10.10.18.8 and 10.10.18.9 from a common user using ssh, do the following on 10.10.18.7 without a password: www.2cto. comssh-keygen-trsa // Press enter cat. ssh/id_rsa .... on LINUX, if you want to access 10.10.18.8 and 10.10.18.9 with ssh mutual trust after you log on to 10.10.18.7, do the following on 10.10.18.7 without a password: www.2cto.com ssh-keygen-t rsa // Press enter here. ssh/id_rsa.pub>. ssh/authorized_keys // password scp is not required for local logon. ssh/id_rsa.pub 10.10.18.9 :~ // Log on to 10.10.18.9 without the password ssh 10.10.18.9 'cat id_rsa.pub>. ssh/authorized_keys 'scp. ssh/id_rsa.pub 10.10.18.8 :~ /// Log on to 10.10.18.8 without the password ssh 10.10.18.8 'cat id_rsa.pub>. ssh/authorized_keys '. Similarly, you need to perform the corresponding operation on 10.10.18.8 and 10.10.18.9 (modify the IP address in the command)
 

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.