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
-
Create key pair
After creation, the browser will automatically pop up the download interface, and you need to download and save the key.
-
Bind key pair
-
Restart the server:
After the key is bound, be sure to restart the server
Step 2: Connect to the server
- Open xshell and create a session
Step 3: Connect to the server
After creating the session, click Connect, the following interface will pop up, and follow the steps below