how to use ssh on godaddy cpanel

How to use ssh on godaddy cpanel, after a couple of issues with customers who has their hosting with godaddy, where is hard to do fast edits by file manager editor or other web edit tools. I found how to use private keys to login into godaddy cpanel servers. Here is the “how to”.

Follow next steps

Download PuTTY and PuTTYgen from the next url.

http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

steps to generate private key for godaddy cpanel

Open puttygen and select Generate

steps to generate private key for godaddy cpanel

Then we need to move the mouse over the Key box, and it will start showing a green bar, move the mouse until the key is done.

steps to generate private key for godaddy cpanel

Once we have our key generated add a key passphrase and confirm it, this will be your password to login by ssh to your server, then select save private key. And save it on a place you can remember. The archive must be with extension .ppk

steps to generate private key for godaddy cpanel

After this open the ppk key with a text editor, and go to your godaddy cpanel, and open ssh access if you have that option on your panel.

ssh-cpanel

Then enable ssh on your server

enable-ssh

After this you can see the option to manage ssh keys, there you can find all the keys you add to your server.

manage-ssh-keys

After this you can see there is an option to import keys. Select Import keys, it’s better than generate a new one.

manage2

After this add a name to identify your key, and copy the key from your text editor and paste it on the box, as you can see on the next example. After that select import at the bottom of the page.

import

After this we can see we have our public key and private key imported, now we need to authorize our public key to allow access by ssh to the server. Click on Manage.

imported

And on this screen Authorize the key.

authorize-screen

And then we can see the key is authorized

authorized

Now open Putty.exe and fill host name with your server ip or domain.

putty-0

Now select Data and add the ftp user of your cpanel, if you have more than one ftp any user works.

putty-1

Here add the ppk archive with the key.

putty-2

Now go back to session and add a name on saved sessions and save. now you have a shortcut to your server that will use the private key to login through ssh.

putty-3

Now select open and here it will ask for the password of our private key instead the ftp password to login by ssh.

logged-in

I hope this help because it was a little hard to figure out how to make it work.