Last update at :2024-05-15,Edit by888u
Assume that everyone creates a VPS according to the previous article, https://www.138vps.com/freevps/1969.html.
At this time, we have uploaded the public key and have our own private key. Then when we use xshell to connect to the VPS, we need to select the secret key.
In fact, before logging in, we'd better set up the firewall first.
Enter our VPS details, click the link of [Virtual Cloud Network], and enter our public subnet. If there is not one, you can create one.
Enter the safe list and create one if there is not one
Add inbound rules
At this point, this free VPS can be pinged, and all ports are open. Of course, the firewall port that comes with the VPS still needs to be opened by ourselves. You can refer to: https://www.138vps.com/jzjc/987.html.
For security reasons, we recommend opening only the ports that are needed and not opening all ports.
Okay, now you can use xshell to log in to our VPS. However, Oracle's VPS username is not root, so you need to find it out separately. In fact, it is very simple, just use root to log in, and then the system will tell you what to use. User name, as shown below:
So we use the username opc to log in.
But what if you must log in as root? For example, if you need to install Pagoda, you need root. two methods
One is to run the command: sudo -i, which will automatically obtain root permissions.
Another method is to modify [/etc/ssh/sshd_config]. For specific methods, please see the third step of this tutorial: https://www.138vps.com/vpsjc/509.html. The reverse operation is to enable root login.
At this point, the tutorials that need attention are over. However, we still need to remind everyone that when creating a VPS, be careful not to create a paid one. For safety reasons, it is recommended to ask in our group. You can join the group at the top of the page.
In addition to two free VPS, a free load balancing is also a very practical and good thing.
Recommended site search: PHP space recommendation, virtual host rental, site group server rental, Taiwan server rental, IP address, la domain name, Chinese IP segment, Tencent cloud server, domain name registration information query Korean cn2 server,
发表评论