Connecting to a Linux server for the first time may seem confusing, especially if you have a strong Windows background. When connecting to a Linux (or UNIX) based server, a protocol called SSH is used. SSH allows you to connect to your server and manage it remotely. Most UNIX-based operating systems already have an SSH client built-in. OS X is UNIX-based, and includes
ssh. Windows on the other hand, does not include an SSH utility. There is a popular freeware SSH client for Windows called PuTTY. In this article, I'll explain how to obtain PuTTY and start using it.
PuTTY can be downloaded from its official site.
In the "Binaries" section, you'll need to download "PuTTY" from "For Windows on Intel x86". Simply click the "putty.exe" link and it will start downloading.
After downloading PuTTY to your Windows computer, open it. A window will open where you will need to enter some information.
After entering this information, click "Open" to start the connection.
You will likely get a window saying "PuTTY Security Alert". Because this is a server you have not connected to before, PuTTY will ask you to confirm this is the server you think it is - with an rsa2 key. If you're an advanced user, you can check this, otherwise just click "Yes" because in reality it's safe in 99% of all cases.
PuTTY will now ask you for your username. By default, this is
login as: root
Press Enter. You will now be asked for your password.
After inputting your password, press Enter again. You are now logged into your server.
When you are ready to log out of your server, press Ctrl + D.
For security purposes, it is a good practice to change your password after creating your server. You can do this by executing the following command.
Follow the on-screen instructions and your root password will be reset.