Did you receive email "Your New VPS Details (READ IN FULL)"?
Finally, you will be reading comments like "read carefully" from someone else, not me. And indeed, that's what you sho..wait, not should, have to do! Email is pretty long, but very useful. If you did some research in previous parts, you should already be familiar with stuff in email, but let's check it out together.
For your own good always refer to the original email and website content. Anything mentioned here might become obsolete anytime.
VPS SolusVM Control Panel
Let's skip first email parts and find the one called VPS SolusVM Control Panel. You can find your login info and address of it. Please find it, login, and come back. We will use it soon.
You should be able to see your IPv4 and IPv6 addresses. As you might know, this service comes with no dedicated IPv4, so the address we can see is from internal network. Noone from outside of our network can connect to that address. That's not the case of IPV6- the addresses you see are your public IPv6 addresses that you can use. So what does this means? We will need to find some way hot to let IPv4 users (still the most of internet users nowadays) connect to your server , if that's how you plan to use your new VPS. But we will deal with it later.
You can also see reminder of your server name and the fact, that the password is whatever you chose when signing up.
IPv4 NAT IP Information
What you do next is counting of your port number. For the first time I didn't get what to do, but it's really simple.
Let's say our main IP address is 192.168.0.17. The ports are based on the last octet of your IP. So in our case, the last octet is 17. Our example address 192.168.0.17 has the following port range forwarded: 1701 - 1720. Choose one from that range and remember it. You will need it pretty soon. Like now.
Better be sure! Check with original email, whether the port assignment system is still the same.
SSH Access Information
Let's connect to our server, right? It's been some time since we are going around it.
Next steps are done on Debian install. Check specifics of your OS if you use different one.
First thing you need to do is find and install some SSH client. There are many, eg. LES recommends PuTTY - pretty solid choice, you might go with that one without any headache. So go ahead and install SSH client of your choice.
Funnily enough, we are not going to use SSH client right away- our first connection to server will be via SolusVM console. You probably read that in email: "Please be sure to update your sshd_config file with an assigned port via the solusvm console and restart the ssh service if you intent to use IPv4". I guess you do intent to. Now it's time to go to your VPS SolusVM Control Panel that you logged at the beginning. You should see button with "Serial console" text on it. Go ahead and click. You might see some warning, and Create Session button. Click it. And some Java warnings. Agree with everything. At the end you should see Password Authentication window. Username and password are visible on website, along with IP address (not your main IPv4). Write that address somewhere, we will need it.
Congratz, you've just logged to your server for the first time (with your root account)!
But let's not forget why we came here: to edit our sshd_config file. Editing that file is first step in securing your server.
Nano is text editor, following is address of sshd_config file. Internet is your friend if you do not understand. Anyway, what you need to do here is change number next to Port to port number you chose before. With "Ctrl-x" and the "y" you will save changes. You can use any text editor you want, right? But you will need to install it first.
service ssh restart
Type that to make changes come to effect.
SolusVM console is not meant for everyday use! From now on, use it only as emergency console.
Wondering how to? We will find out in next section.
Connecting with SSH client
First thing you need is IPv4 address you wrote down while ago (when connecting via SolusVM). We gonna change the last octet of that address depending on where is you VPS located: for UK node change it to 108, for NL to 24 and IT is 139. Now you can connect via PuTTY or other SSH client of your choice. You know your IP address, your port, root as username and password you chose when signing up.
ssh [email protected] -p YYY
That's how you can login via command line in Linux. XXX is your address and YYY is your port. I guess you are trying right now.
Locations and IP addresses might change over time, so refer to LES website/forum for the newest info.
Now you are all set-up to login to your server with your root server. But not for long...
Other parts of email
There are more parts of email. Go ahead and read them carefully.
What I wanna mention here is part called "REVERSE Proxy Info". If you want to, you can use it, but for sake of not making pointless tickets we will use different method - free as well, a bit faster, and LES owner will have less headache. Win-win. But that's for later.