How do I connect to cpanel via SSH using putty?

Procédure

What is the purpose of the SSH connection on cPanel?

Your cPanel web hosting gives you the option of connecting to your account using SSH software such as Putty from the XL package onwards. However, you will first need to generate an SSH key, which is different from the procedure used for VPS private servers.

SSH access lets you manage your web hosting space from a command line. Not only can it help you speed up certain tasks such as downloading a remote file and unzipping it on your web space, but it can also give you access to certain things that you are unable to do via your cPanel dashboard.

How do I connect to cPanel via SSH using Putty?

The ability to connect via SSH is available on all ourcPanel reseller hosting packages. On ourcPanel hosting packages, this functionality is only available from the cPanel XL package.

How to add your IP address to the SSH server:

  1. Log on to your LWS Panel in the Management Panel section , click on : Firewall IP SSH

How do I connect to cpanel via SSH using putty?

2. Click on Add an IP Address

How do I connect to cpanel via SSH using putty?

3. Add your IP address in the corresponding field (1) and click on the Validate button (2)

How do I connect to cpanel via SSH using putty?

4. The confirmation message below will be displayed

How do I connect to cpanel via SSH using putty?


How do you generate your SSH key for cPanel?

1. Log in to your cPanel account, scroll down the page and click on the "SSH Access" icon

How do I connect to cpanel via SSH using putty?

2. Click on"Manage SSH keys".

How do I connect to cpanel via SSH using putty?

3. Then click on"Generate a new key".

How do I connect to cpanel via SSH using putty?

4. Enter the password of your choice, then click on"Generate a key".

How do I connect to cpanel via SSH using putty?

You should then see a message telling you that key generation is complete. Click on the"Back" tab:

How do I connect to cpanel via SSH using putty?

You then need to authorise each key by clicking on"Manage":

How do I connect to cpanel via SSH using putty?

Then click on"Authorize".

How do I connect to cpanel via SSH using putty?

Click on the"Back" tab:

How do I connect to cpanel via SSH using putty?

5. Click on"View/Download".

How do I connect to cpanel via SSH using putty?

6. Convert the key to ppk format so that it can be set up on Putty. In order to generate the key, you will need to enter the password you defined in step 4.

How do I connect to cpanel via SSH using putty?

Once the key has been generated, click on the"Download a key" button:

How do I connect to cpanel via SSH using putty?


How do I connect to cPanel on Windows using SSH?

1. Start your Putty software, then go to the"SSH" section, then to"AUTH" and look for the id_rsa.ppk file you downloaded in the previous step. Then click on"Open".

How do I connect to cpanel via SSH using putty?

2. Then go to the "Session" section, enter the IP address associated with your server in the"Host" field and click on "Open".

How do I connect to cpanel via SSH using putty?

3. The following window will open so that you can identify yourself:

How do I connect to cpanel via SSH using putty?

Your cPanel login can be found in your cPanel customer area:

How do I connect to cpanel via SSH using putty?

After entering your username, press the"Enter" key on your keyboard. Enter the password attached to your SSH key to be able to connect.(Please note that, for security reasons, the password will not be displayed when you enter it).

How do I connect to cpanel via SSH using putty?

How do I connect to cPanel under Linux using SSH?

  • Install Remmina following the instructions for your Linux distribution
  • Launch Remmina from the terminal by typing: remmina

How do I connect to cpanel via SSH using putty?

  • Click on the + icon to add a new connection profile

How do I connect to cpanel via SSH using putty?

  1. Name: Add a name for your connection profile, for example: My SSH LWS account
  2. Protocol: choose the SSH - Secure Shell protocol
  3. Server: Enter the IP address of your cPanel server
  4. Username: Enter your cPanel username
  5. Authentication type: Choose SSH identity file
  6. Identity file: select the id_rsa file from your computer, which corresponds to the private key and which you downloaded from your cPanel (it is not necessary to convert it to PKK format)
  7. Private key secret phrase: Enter the password you have defined for the private key

Then click on the Save and connect button :

How do I connect to cpanel via SSH using putty?

Connect via SFTP using Remmina under Linux:

You can also use Remmina to connect via SFTP and perform operations on the files hosted in your cPanel (Publish/Delete/Download).

To do this, simply change the Protocol to SFTP - Secure File Transfer without changing the other settings you have configured for the SSH connection.

Conclusion

You are now able to generate an SSH connection key and use Putty & Remmina to connect to your cPanel web hosting via SSH with LWS.
You can deactivate the SSH key or delete it from your customer account at any time.

Please do nothesitate to contact our technical support team via an incident ticket if you have any questions.

Rate this article :

4.2/5 | 5 opinion

This article was useful to you ?

Article utileYes

Article non utileNo

Vous souhaitez nous laisser un commentaire concernant cet article ?

Si cela concerne une erreur dans la documentation ou un manque d'informations, n'hésitez pas à nous en faire part depuis le formulaire.

Pour toute question non liée à cette documentation ou problème technique sur l'un de vos services, contactez le support commercial ou le support technique

MerciMerci ! N'hésitez pas à poser des questions sur nos documentations si vous souhaitez plus d'informations et nous aider à les améliorer.


Vous avez noté 0 étoile(s)

Similar articles

1mn reading

How do I program a Cron task in cPanel?

1mn reading

How do I resolve the ERR_CONNECTION_REFUSED error on cPanel?

1mn reading

How can I use WP-CLI to manage my WordPress instance on cPanel?

2mn reading

How do I create cPanel hosting sub-accounts?


Ask the LWS team and its community a question