How to log into your server as the "root" user over SSH


How to log into your server as the "root" user over 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.

 ssh1.png

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

 ssh2.png

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

 ssh3.png

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).

ssh4.png 

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

ssh5.png 

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.

ssh6.png 

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

ssh root@

4.) 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)

 ssh7.png

Posted in
Last update:
2015-12-03 20:39
Average rating:0 (0 Votes)