Linux ssh Password-free login (multiple computers with each other to avoid the dense landing cluster)

Source: Internet
Author: User
Tags ssh

First detect if there is SSH

1. If you do not have the download installed, you can create the. ssh folder in your home directory

mkdir ~/.ssh

2. Generate key

SSH-KEYGEN-T RSA

3. Write the current public key to the Authorized_keys

Cat Id-rsa.pub >> Authorized_keys

4. After writing, copy the Authorized_keys to the next computer's ~/.ssh folder to overwrite

5. Connect to the next computer write the public key of the next computer to Authorized_keys

6. Cycle 4.5 steps until the last computer all the computers in front of you can access the last one

7. Copy the last computer's Authorized_keys to all other computers to enable all the computers to be free of each other's login

Linux ssh Password-free login (multiple computers with each other to avoid the dense landing cluster)

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.