BuycPanel Blog

BuycPanel Blog

Latest news and updates

2/10/2015 – SSH Key Setup for Accessing a cPanel-Managed Website

Posted by Jamison on 10 02 2015.

Connecting via SSH or secure shell to execute and manage files on your sever is one of the most secure ways of doing it remotely. It is a secure cryptographic network protocol used to login, manage, and execute commands using a command line interface or CLI. By setting up a SSH key on your local machine to access your server, you’ll not only save time but you’ll also find it a lot more convenient.


There are three ways of setting up a SSH key to access your web server. One method is through the use of SSHTerm. SSHTerm is a networking tool that allows you to remotely accomplish tasks like port forwarding, record and play input or output data, store and load network connection settings, etc. SSHTerm is easy to use and anyone can set it up in less than two minutes.


Another means of connecting to your server via SSH key is by using Java Telnet Applet. cPanel accounts normally include SSHTerm and Telnet Applet in them. So there is no need for you to download and install these software. By using these features you can already access your servers using SSH secure connection anytime, anywhere.


Aside from the above mentioned ways of connecting to your server via SSH connection, there is another method you can employ to accomplish the same task. The last method of connecting to your server via SSH is by using a third party software such as Putty and Total Terminal.


Using cPanel Pre-installed Programs


Remotely connecting to your servers via SSH is accomplished easier if you have cPanel. All you have to do is to follow these simple steps.


First log in to your cPanel account. Then scroll down to the “Security” section. Locate and click on “SSH/Shell Access” icon. Once done, you’ll be presented with two options. One is by using SSHTerm and the other is through Telnet Applet. Choose which connection suits you the best.


For SSHTerm, click on the “Connect using SSHTerm” button. A pop-up warning screen will appear. Click on the “I accept the risk” slot and click “run”. A java screen will pop-up. Key in your user name and password to login. If you want to save your password for future reference, make sure to tick on the “save this password slot”. Then click “OK”. After entering your username and password, you will be prompted to choose a server to connect to. Choose which server you’ll be connecting with and click “OK”. Then viola! You are connected to your server via SSH connection.


To connect using the Java Telnet Applet, click on the corresponding button. A java pop-up screen will appear prompting you to enter your username and password. Do just that and remember to tick on the “save password” slot if you want Telnet to save your password. After that, further authentication is required to access the server via SSH. All you have to do is to log in again using the same log in details as you used before. This is both for security and authorization purposes. Once that is accomplished you shall then be able to access your server via SSH connection.