Using PuTTY with Windows

To connect to your server via SSH you can use a well liked and popular program called PuTTY. This is a free program and can be downloaded at the following link: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html The only file that you need to download to connect is the PuTTY.exe file, which is the first one listed for Windows on the download page: puttydownload

Once downloaded you can run the program by double clicking the PuTTY.exe file you have just downloaded. Because this is a small program there is no installer that needs to be ran. Windows may prompt you to approve running this file as a basic security measure. You will need to approve this to continue running the program. Once opened it will bring up the following screen prompting you to put in the server connection details:

puttyscreen

What you will need to connect are:

Host Name: The server host name or IP

Username: Desired username, whether it be root or cPanel ID

Password: Password associated to the user entered

Enter the Host Name you wish to connect to on the PuTTY configuration screen and click Open. This will bring up the following message the first time you connect. Once you confirm that you want to connect to the server you will not be prompted to approve the connections again: puttywarning

The following screen, putty will open asking to enter the user name and press enter/return. It will then prompt you for the password. Enter the password for the user and hit enter/return (please note that the program will not display any characters for the password, not even “*****” so it will appear as if you are not entering anything). It is generally good practice to simply copy and paste the password, however when doing this please make sure you are not pasting in any extra spaces.

To paste text from the clipboard simply right click in the window. There are no copy/paste options for right clicking in the shell. Highlighting text from the shell automatically places it in the clipboard and right clicking in the window will paste whatever is in the clipboard into the shell prompt. Please note that highlighting only copies text in the shell window.

puttyloggedin

Once logged in to your server via putty, please feel free to check out our article on Linux Command Line Basics.

To give shell access to your individual domains you must enable this via the WHM panel. When modifying or adding files for a specific domain you will want to login as that domain’s user and not the root user to ensure that the file ownership remains in tact for the files. For resellers this is a very important thing to remember as we do not want to give our respective clients direct root access to the server. To enable the shell on specific domains you must first login to your WHM Panel. Once logged in type ssh in search area in the upper left hand corner of the page and click on Manage Shell Access:

whmsshsearch

This will bring up a page with the domains/users on the server and what their access levels are: manageshellaccess

You will only want to enable the Jailed Shell as this will keep users within their own file structure. If you enable the Normal Shell this will allow users to get outside of their domain root and into other user’s file systems on the server. Once this is enabled the cPanel user name and password are what can be used to access the server on the shell.

Was this article helpful?

Yes (6)
No (0)

We're sorry you didn't find this article very helpful. Please help us improve it by leaving your feedback below.

Error