SSH verification by key

Source: Internet
Author: User
Tags ssh server
Ssh establishes a secure channel between two machines to encrypt all data. For example, machine A logs on to machine B through ssh (machine A is an ssh client and machine B is an ssh server ). 1. confirm that there is an account on machine B. 2. Generate A key pair on machine A: Enter the directory where the key pair is stored in the first line of ssh-keygen-trsa, and press enter directly (from

Ssh establishes a secure channel between two machines to encrypt all data.

For example, machine A logs on to machine B through ssh (machine A is an ssh client and machine B is an ssh server ).

1. confirm that there is an account on machine B.

2. Generate A key pair on machine A: ssh-keygen-t rsa

Enter the directory for storing the key pair in the first line, and press enter to store the key pair automatically ~ /. Ssh/directory,Id_ Rsa is the private key, and id_rsa.pub is the public key ).

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.