After you’ve acquired your Linux VPS, the first step is to connect to it and begin using it as a platform for establishing your online presence.
You must follow slightly different procedures depending on whether you use Linux or Windows on your PC. Let’s have a look at both of them.
Prior to linking
Whether connecting from Linux or Windows, you’ll need the server access information you received from your hosting provider after purchase, most likely through email. You will be given your hostname, IP address, SSH user name, SSH password, and SSH port. Keep this information in a secure place and don’t forget where you put it since you’ll need it in the next parts.
What exactly is SSH?
The SSH (secure shell) protocol is used to connect to a Linux VPS. This protocol superseded the earlier standard Telnet, and it employs a variety of approaches to ensure that your encrypted data is transferred safely across a secure network.
SSH employs three types of encryption: symmetrical encryption, asymmetrical encryption, and hashing.
Symmetrical encryption implies that both parties, the client (your computer) and the host (your VPS server), utilize a single key to encrypt and decode data. Because a single or two keys may be computed with the aid of another, they are also known as shared keys. The keys are supplied as random sequences of characters, which are then employed by a specific algorithm to convert the information into an undecipherable sequence of characters. To encrypt the whole connection between the client and the host, symmetrical encryption is utilized.
Asymmetrical encryption employs two keys: a private key and a public key. The public key is one that any user may hold and use to encrypt or communicate information to the owner of a certain private key, while the latter can only decode the information. Asymmetrical encryption is used to create a secure symmetric connection rather than to encrypt the whole session between the client and the host.
Hashing is a kind of encryption that involves constructing a series of random characters from particular input that cannot and should not be decoded. This technique is not used to transport data, but rather to validate it by comparing the hash to a certain input to ensure that you have the correct input.
Connecting to a Linux VPS from a PC running Linux
Connecting to a Linux VPS from Linux is a little simpler than from Windows and is done straight via your operating system’s command line.
To connect through SSH on Linux, use the terminal. Give the following command:
[username]@[server IP] ssh
The command line will now prompt you for your password. Instead of typing it manually, you can paste it using a right mouse click, which opens the choice of activities, but you won’t be able to see it while entering. If all of the information is input properly, the connection to your server will be created, and you will be free to continue with the server setup.
Connecting to a Linux VPS from a Windows PC
Connecting to a Linux VPS from Windows is not easy, but it is not impossible. A separate client is required to create a connection. The most popular is PuTTY, a simple and handy program that you may get for free from this website: https://www.chiark.greenend.org.uk/~sgtatham/putty/.
Launch PuTTY once you’ve installed it. In the newly opened box, input your IP (or hostname) and port number – which is 22 by default but may be changed by your hosting provider to offer you with greater security straight immediately. If the port is still 22, it is suggested that you update it as soon as possible to improve your security against hacking assaults. When you click “open,” you’ll see a terminal window asking for your password. Insert it here. You will also be able to paste it here, but you will not be able to see it while typing, as it will be represented by little circles or anything, so don’t worry about it, just write it or paste it as you received it from your hosting provider. You may do so with a right mouse click, which will automatically input the password.
When you’re finished, press the enter key, and if everything went as planned, you’ll be connected to the server. Congratulations, you may now utilize your Linux VPS for whatever reason you can think of!
You should now have more than enough information to login to your Linux VPS and begin configuring your online presence. We hope everything was clear and went smoothly. Thank you for your time and consideration; take care!
pic by – kubadownload