0 reference
Reference [1]: How to connect to the Linux system on Alibaba Cloud via SSH
1 Aliyun server
Buy an Alibaba Cloud server, and novices will get one month as a gift.
server settings
01 Enter the management interface
02 Reset password for first use
03 After setting, the server needs to be restarted to take effect
04 After restarting, re-enter the management interface and create a key pair
important! Save the created key pair
05 Binding key pair
06Create a security group (external settings linked via SSH)
07 Obtain the instance (server) ip address
2 local
1 Download and install VsCode
2 Install the plugin
3 configuration files
Reference [2]: VSCode uses Remote SSH to connect to remote servers
and modify configuration files
Host <remote host name>
HostName <remote host IP>
User <username>
Port <ssh port, default 22>
IdentityFile <local SSH private key path, saved above>
ForwardAgent yes <VSCode added by itself, don't care>
3 links
Reference [3]: Use VScode to connect to Alibaba Cloud remote server
Select the host name of the link
ctrl+~ to call the terminal