Avatar of openaccount1
openaccount1
 asked on

Pairing SSH from Cpanel 11 to CuteFTP 8

Hi,

We are setting up our CuteFTP to work with SSH keys in our hosting site.

Here is the details on our host and CuteFPT software.

Hosting Site:
Cpanel 11

CuteFTP:
CuteFTP Professional
8.0.5 Build 02.06.2007.1

Here are the actions that we did.

In our hosting server.
1. Login to Cpanel Admin
2. Click the "SSH/Shell Access" link
3. in the SSH window, click the "Manage SSH Keys" button.
4. In the "Manage SSH Keys" click the "Generate a new Key" link.
5. In the "SSH Key Generator" we provided all information required which are:
a. Key Name = id_dsa
b. Key Password = *********
c. Password (Again) = *********
d. Key Type = DSA
e. Key Size = 2040
6. Then generated the key.
7. Going back to the "Manage SSH Keys" window, we clicked the "Manage Authorization" button and clicked "authorized".
8. Going back to the "Manage SSH Keys" window, we click the "View/Download" link in the Public keys section and downloaded the public key e.g. "id_dsa.pub"
9. Going back to the "Manage SSH Keys" window, we click the "View/Download" link in the Private keys section, provided the passphrase to unlock id_dsa for conversion and downloaded the private key e.g. "id_dsa.ppk"

In CuteFTP
1. Create a new site and entered the necessary information in the "General" tab.
2. In the type section, we chose "SFTP using SSH2 (Secure Shell)" as the protocol type and leave all the other settings by default then save the new site.
3. in CuteFTP Menu, we went to "Tools" > "Global Options" then click "Security" > "SSH2 Security"
4. In the "Public key Path" we entered the path to the "id_dsa.pub" file that was downloaded from Cpanel.
5. In the "Provate key Path" we entered the path to the "id_dsa.ppk" file that was downloaded from Cpanel.
6. Added the passphrase/password that was created in step 5 above when setting up the hosting server but when we press "Apply" it is saying that the passphase is incorrect so we left the passphase blank instead.
7. Clicked the new site that was created and asked for the passphrase so I entered again the passphrase however it is saying that it is not correct.

Is the above steps correct? If not, can you send us the correct way of pairing our CPanel hosted site with CuteFTP. I am not much familiar with SSH but we need to have a secure way of uploading our site so we need to use SSH.

Thanks,
Openaccount
SSH / Telnet SoftwareApache Web ServerSecurity

Avatar of undefined
Last Comment
openaccount1

8/22/2022 - Mon
Linux Guru

Are you sure ssh is enabled for your account from WHM?

Make sure shell is enabled for your account. Also try to login directly without using key based authentication and see if its working.

ssh username@servername -p portnumber

Open in new window


If ssh is using default port number 22 then no need to mention in command line.
openaccount1

ASKER
Hi,

I am new to this SSH so I do not know how and where to enable SSH via CPanel. It will be helpful if you can send me a step by step procedure on how to do this.

Thanks
Linux Guru

Its not possible to enable ssh via cPanel. Are you on a shared hosting? If yes, contact your hosting support and they will enable ssh for you. If you have full access to server (root access), login to the WebHostManager >> Click Manage Shell Access >> Select the Account Name >> Select Normal/Jailed Shell.

If you have any doubts let us know.

Cheers !!!
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
openaccount1

ASKER
According to our administrator, the shell access is already enabled. Jailed Shell access set.

Any other issue that we are not aware that can make the SSH not working correctly?
ASKER CERTIFIED SOLUTION
Linux Guru

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
openaccount1

ASKER
OK, I will try the above tomorrow and will inform you of the progress. Thanks
Linux Guru

Sure. No problem.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
openaccount1

ASKER
Was not able to make it work as I did not have the technical knowledge on the matter but thanks for the prompt response.