Use key to connect to Alibaba Cloud server through xshell (novice tutorial)

Use key to connect to Alibaba Cloud server through xshell (novice tutorial)

There are several ways to connect to the Alibaba Cloud server. For example, there is a password to connect. However, the security risk of password connection is high, so we choose the key method to connect. Simple operation and high safety

Step 1: Create a key pair

  1. Create key pair

    After creation, the browser will automatically pop up the download interface, and you need to download and save the key.
    Insert image description here
    Insert image description here

  2. Bind key pair
    Insert image description here
    Insert image description here

  3. Restart the server:

    After the key is bound, be sure to restart the server

Step 2: Connect to the server

  1. Open xshell and create a session
    Insert image description here

Insert image description here

Insert image description here
Insert image description here
Insert image description here
Insert image description here

Step 3: Connect to the server

After creating the session, click Connect, the following interface will pop up, and follow the steps below

Insert image description here

Insert image description here

Guess you like

Origin blog.csdn.net/qq_65732918/article/details/133185001