How do I connect to my server using SSH?


  In this article, we will walk through how to log into your linux server over ssh as the root user from your Windows PC or Mac Computer. Accessing the server with the "root" account will allow you the most freedom to modify the server. However, this can be dangerous as the "root" account is the most powerful account on the server. ( Always make a backup of any files you plan to change before changing them. This way you can always go back to a working configuration if the change doesn't go according to plan. )

 

Windows

 

1.) The first thing you will want to do is download the PuTTY client for Windows from their site.

 http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

 2.) Once you've downloaded and installed PuTTY, you will want to click on the PuTTY executable to open the application.

 How to SSH - Putty icon 

 3.) In the "Host Name (or IP address)" field, put the IP address that has been provided with your server and click "Open".

How to SSH - Putty Configuration screen

  

4.) You will be prompted to generate a key upon your first login attempt. Click "Yes".

 How to SSH - Putty Security Alert to accept host key

  

5.) Type "root" as the user and press "enter", Then type in the password provided with your server and press "enter"(when typing in the password, no text will be displayed).

 How to SSH - Logging in with Putty 

 

How to SSH - Logged in with Putty

  

You are now logged in under the root account and ready to begin setting up your server.

  

Mac OS X

 

If you are using a Mac, you can simply open the Mac Terminal and connect to SSH from here.

 1.) Select "Search" in the upper right hand corner of the desktop.

2.) Type in the Search box "Terminal" and click on the top result.

  How to SSH - Searching for Mac Terminal

 

 
How to SSH - Opening Mac Terminal

3). Once you've opened your Terminal Window, just type the following:

ssh root@IP.add.re.ss

**replace "IP.add.re.ss" with the IP address you have been provided with your server.

4.) You will be prompted to create a key upon your first login attempt to the server. Type "yes".

5.) Type the password provided with your server and you are now logged in as "root"! (when typing in the password, no text will be displayed)

  

How to SSH - Logged in with MAC terminal

 

 This article has been provided by Codero Hosting, the leading provider of reliable dedicated, managed and cloud hosting services. Need more information on this topic or to learn more about Codero’s hosting services please visit www.codero.comchat with us online or give us a call at 866-2-CODERO.

Posted in
Last update:
2016-05-20 14:25
Average rating:0 (0 Votes)