How to use Alibaba Cloud to connect to a remote server using Xshell

Insert picture description here
  The outbreak of the epidemic, the father of Ma's Ali shine again, not only donated many times for the fight against the epidemic, but also provided strong cloud computing service support for major medical institutions at home and abroad. According to the Google Index: Ali is in the domestic cloud The service market share is 47.6%, and on the global scale, the Alibaba Cloud market is second only to Amazon AWS and Microsoft Azure, ranking among the top three in the market. Therefore, Ali's cloud service capabilities are unquestionable, at least domestically.

Insert picture description here
  We usually use the linuxsystem VMWareto access through the installation of CentOs. The used VMWarechildren's shoes should know how troublesome he is to install CentOs. The installation trouble does not matter. The frightening thing is that its startup speed is quite wow . I do n’t know if other brothers are on. Without getting angry, I can't stand it anyway. In order to get rid VMWareof the nightmare that is dominated, prepare the whole server to do it when it is okay ...

  Without further ado, let's cut to the point: there is really a dazzling feeling when entering Alibaba Cloud, various functions and various services come out, but for me, a coder who only wants to play with the entire server Say, it seems that only need

  • LinuxJust connect it ...

  Now that the dishes are ready, wait for the ingredients:

1. Examples

  In the first 控制台首页of 概览the guarantee is to open its own service instance
Insert picture description here

2. Configure Security Group

  ECS instances mainly configure security group rules to allow or prohibit access to public or private networks by ECS instances in the security group. What do you mean? To put it bluntly is to release the port ... For example, if we access mysql, we need to open port 3306 to access it. To access tomcat, you need to open port 8080. This is what the security group does. First, let's release port 22 first. We need to use Xshell to connect to Linux:

First enter the home page of your console:
Insert picture description here
open 网络与安全, select 安全组, and then click on the right side of the screen 创建安全组:
Insert picture description here
Insert picture description here

3. Key

  Still in the 网络与安全module, select 密钥对
Insert picture description here
and then select on the right side of the screen 创建密钥对:
Insert picture description here
fill in the relevant information:
Insert picture description here
after clicking OK, a key will be downloaded init_beijing.pem, and then 密钥管理列表select in绑定密钥

Insert picture description here

Then select the ESC instance in the list on the left, click the >symbol, then click OK, and then the key pair and the instance are bound:

Insert picture description here

4. Reset password

Insert picture description here
Insert picture description here
Insert picture description here

5. Open Xshell

  Some children's shoes may use mobaXterm or Finalshell. I haven't tried it. Here is an example of Xshell:

  • New connection

If you fill in here , you can see the public and private IP addresses assigned to you from the Alibaba 主机IP地址Cloud management console 概览. Here, we copy and paste the public IP address to the newly connected host IP of Xshell.

Insert picture description here
Insert picture description here

Insert picture description here

Then do some other common configuration ... (Ten thousand words omitted here) After the
configuration is complete, click 连接
Insert picture description here
Select 接受并保存
Insert picture description here
Click 确定
and then import the previously generated init_beijing.pemkey pair, click记住密码

Insert picture description here
Then you can connect to Linuxdo whatever you want ...

Insert picture description here
Other environments can be used 宝塔to install, very energetic.

Pagoda panel-simple and easy to use server operation and maintenance panel

  This article simply records the process of connecting to Linux after starting the server, and other configurations will be gradually improved later.

Published 117 original articles · Like 57 · Visitors 10,000+

Guess you like

Origin blog.csdn.net/qq_43655835/article/details/105184628