Logging into your cpanel with SSH Kenya

How to Generate an SSH Key

Login to the cPanel that you want to connect to using SSH. Under Security click SSH/Shell Access. Click the Manage SSH Keys button, then click in the field labeled Generate a new Key. Type in a strong password, then click in the field below it and type the password again. creating a key Click the Generate Key button, then you will see a Key Generation Complete! message. Click the Go Backbutton. On the next screen click Manage Authorization. You will see a message stating œThe key with the name "id_dsa" (this name may differ based on your settings) is currently not authorized for use to connect to this account. You can change this by clicking here: Click theAuthorize button. You will then see a message stating œThe key œid_dsa.pub has been authorized.

Download and Convert the SSH Key

Download and install puttygen. Login to the cPanel that you want to connect to using SSH. Under Security click SSH/Shell Access. Click the Manage SSH Keys button. Under Private Keys click View/Download next to the Private key you want to use. On the next screen click the Download Key button. Open puttygen, and click the Load button. Click the PuTTY Private Key Files(*.ppk) drop-down menu, annd change it to All Files(*.*). Then, select the id_dsa file you just downloaded, and click the Open button. Choose the Private Key A box will pop-up asking for your Passphrase. Enter the password for your key, and click OK. Input password You will see a message stating "Successfully imported foreign key," click the OK button. Puttygen notification Now click the Save private key button to download your private key file. Download your Private Key in puttygen

SSH using Putty

Open Putty, under Connection click SSH, then Auth. authorizing putty Click Browse under Private key file for authentication, then select the private key you downloaded in the last section, and click Open. Click Session and under port enter: 2222 For the Host Name, enter your domain name, or shared IP address,then click the Open button to connect. If you see a PuTTY Security Alert, click Yes. Host key is not cached message You will see "Login As". Please enter your cPanel username and then hit Enter. Then, enter the password for your key file and hit enter. For security reasons, PuTTY will not show anything when you type your password, this is normal. You will then be logged into your account via SSH.

  • Logging into your cpanel with SSH Kenya
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to install an SSL Certificate in cPanel Kenya

Installing an SSL Certificate in cPanel requires that the domain be assigned a dedicated IP to...

Redirect HTTP to HTTPS automatically Kenya

If you have a secure certificate (SSL) on your website, you can automatically redirect visitors...

Powered by WHMCompleteSolution