Use VScode to connect to Alibaba Cloud remote server

Use VScode to connect to Alibaba Cloud remote server:

Ready to work

Download vscode

Install Chinese plugin
Install ssh plugin
Insert picture description here

Add new connection

Insert picture description here
Insert picture description here
Find the ip address of the server in Alibaba Cloud and
Insert picture description here
copy the address into the configuration file, just choose one (the first three).
Insert picture description here
Insert picture description here
If it fails, select the security group configuration and join the ssh entry in the Aliyun console.
Insert picture description here
Insert picture description here

Start connecting

After the configuration is over, you can start to connect,
enter the password
Insert picture description here

The lower left corner indicates the connection status
Insert picture description here

There is still a possibility of failure. If it fails, you need to reset the password from the Alibaba Cloud console , restart the server , and use VNC to connect once and then connect to ssh.

After the connection is successful, open the terminal (ctrl+~)

Insert picture description here

The connection is successful, now you can use VScode to copy and paste commands, and it is more comfortable to transfer and manage files with FlashFXP

Insert picture description here

Guess you like

Origin blog.csdn.net/euphorias/article/details/104482389