In the previous article, Lao Zuo recorded that the public host provided by Sharktech Shark host vendors cannot directly connect to the server, but we need to open small virtual machines (VPS hosts) according to actual needs Activate the virtual machine of Windows image In this article, I plan to experience how to open the virtual machine of Linux system.
![The process of creating Linux virtual machine configuration and SSH key login for Sharktech public host](https://images.laozuo.org/wp-content/uploads/2021/09/sharktech-create-1.jpg)
We log in to the background panel of the current public host, and we create the virtual machine.
![Sharktech public host creation Linux virtual machine configuration process and SSH key login - page 2 Sharktech public host creation Linux virtual machine configuration process and SSH key login - page 2](https://images.laozuo.org/wp-content/uploads/2021/09/sharktech-linux-1.jpg)
Similarly, according to the prompt, we need to create the virtual machine name. Here, we need to set the image.
![Sharktech public host creation Linux virtual machine configuration process and SSH key login - page 3 Sharktech public host creation Linux virtual machine configuration process and SSH key login - page 3](https://images.laozuo.org/wp-content/uploads/2021/09/sharktech-linux-2.jpg)
Here we choose Ubuntu image.
![Sharktech public host creation Linux virtual machine configuration process and SSH key login - page 4 Sharktech public host creation Linux virtual machine configuration process and SSH key login - page 4](https://images.laozuo.org/wp-content/uploads/2021/09/sharktech-linux-3.jpg)
Then we choose the hardware configuration of the Flavor server. For the hard disk, we need to adjust it. The default is 2GB. We can set it larger, such as 20GB.
![Sharktech public host creation Linux virtual machine configuration process and SSH key login - page 5 Sharktech public host creation Linux virtual machine configuration process and SSH key login - page 5](https://images.laozuo.org/wp-content/uploads/2021/09/sharktech-linux-4.jpg)
The same is true for network settings. We can set the automatic assignment of IP addresses.
![Sharktech public host creation Linux virtual machine configuration process and SSH key login - page 6 Sharktech public host creation Linux virtual machine configuration process and SSH key login - page 6](https://images.laozuo.org/wp-content/uploads/2021/09/sharktech-linux-5.jpg)
The SSH KEY here must be set. Password login cannot be set here, but key login must be set. We can directly create an add here. Or we can set a key file at the beginning.
![Sharktech public host creation Linux virtual machine configuration process and SSH key login - page 7 Sharktech public host creation Linux virtual machine configuration process and SSH key login - page 7](https://images.laozuo.org/wp-content/uploads/2021/09/sharktech-linux-8.jpg)
They all mean the same thing. We can create it directly here.
![Sharktech public host creation Linux virtual machine configuration process and SSH key login - page 8 Sharktech public host creation Linux virtual machine configuration process and SSH key login - page 8](https://images.laozuo.org/wp-content/uploads/2021/09/sharktech-linux-6.jpg)
Before creating the key, we actually used the SSH client wizard to create a KEY PUB file.
![Sharktech public host creation Linux virtual machine configuration process and SSH key login - page 9 Sharktech public host creation Linux virtual machine configuration process and SSH key login - page 9](https://images.laozuo.org/wp-content/uploads/2021/09/sharktech-linux-9.jpg)
Reference“ Xshell Set Key Login to Ensure More Security of Linux VPS and Server ". When I create an SSH key connection, I directly fill in the KEY key and save it.
![Sharktech public host creation Linux virtual machine configuration process and SSH key login - page 10 Sharktech public host creation Linux virtual machine configuration process and SSH key login - page 10](https://images.laozuo.org/wp-content/uploads/2021/09/sharktech-linux-7.jpg)
After creation, we can wait for the installation of the virtual host.
![Sharktech public host creation Linux virtual machine configuration process and SSH key login - page 11 Sharktech public host creation Linux virtual machine configuration process and SSH key login - page 11](https://images.laozuo.org/wp-content/uploads/2021/09/sharktech-linux-10.jpg)
Here, we can connect through SSH after the creation is completed. When we use SSH to connect, we also need to log in with a non password, but with a key.
In this way, shall we finish the demonstration Sharktech public host Create an ECS of Linux image.
Scan the code to follow the official account
Get more news about webmaster circle!
Entrepreneurship, operation and new knowledge