How to Connect to Your Web Host Server
The first thing you need to do to be able to connect your web host server is to set your server up to allow SSH connections. How you log in depends on whether you are using a username/password combination or a username/key system. It also depends on which operating system you are using on your computer.
How to connect to your server with Windows
If you are using a username/password combination, connect like this:
Double-click on the Putty.exe file you downloaded.
Type the hostname of your server (normally your primary domain name) or its IP address into the first box.
Type your username and press Enter.
Type your password and press Enter.
If you have configured your server correctly and entered the correct username and password, you should be logged in and have a command prompt with your username, your server name, and a # sign.
During the login process, the server may give you warnings about not logging in if you’re not allowed to do so and might even tell you that it has notified the administrator that you’ve tried. You don’t need to worry about this unless you’re trying to break into someone else’s server!
If you are using a username/key combination, you first have to save the key in PuTTY. This is a little complicated, but it’s easy enough if you follow these steps carefully:
Create a public/private key on your server and download the private part as a ppk key.
Double-click on the Putty.exe file.
Type the hostname of your server (usually your primary domain name) or its IP address into the first box.
In the Saved Sessions box, type a name for this connection and then click Save.
In the category menu at the left of PuTTY, click SSH and then Auth.
Click Browse and then browse to and select the ppk file you downloaded from your server.
Click Connection in the Category list and then click Data.
Type your username in the Auto-login username box.
Click Session and save the session again.
Click Open and PuTTY opens a connection to the server and attempts to log in using the username and key you provided.
Every time you want to log in, you simply have to open PuTTY, select your saved session, and click Load. Click Open and PuTTY logs you back in.
How to connect to your server with Mac or Linux
Open the Terminal program.
Type ssh username@Server IP Address.
Make sure to use your actual username and the IP address of your server.
Terminal attempts to connect to the server and, if it is successful, prompts you for the password for the account.
You can also connect using the command username:password@Server IP Address (replace username, password, and Server IP Address with your actual details) and Terminal sends both pieces of data to the server automatically. Either way should be secure because the secure session is created before any login details are sent.
Make sure you type your password correctly because too many incorrect attempts cause your server to lock you out.