How to use SFTP to connect a cPanel account? Print

  • 1

FTP defined as File Transfer Protocol. You can tranfer files between two remote servers/computers using the FTP. FTP client is used to connecting and downloading the files from the remote server. However, FTP is less secure compared to SFTP.

SFTP called ssh File Transfer Protocol used to tranfer the files over the secure connection. SFTP will work only with the default cPanel account.

You need to have secure shell access to connect SFTP. You can get the secure shell keys from the cPanel.


Obtaining SSH Keys from cPanel :

Following are the steps to generate SSH Keys from your cPanel account.

  1. Login to the cPanel account.

  2. Click on the SSH Icon inside Security section.

  3. Click on Manage SSH Keys >> Generate a New Key.

  4. Keep the default key name as it is. Provide the password and click on Generate key button.

  5. Now, we will authorize this key to use for your cPanel account. Click on Manage Button and hit Authorize button.

  6. Download the private key by clicking on the View/Download button. You can also download it from home/.ssh folder.

Note : You need to download this file in a safe place. Please make sure nobody has access to this file.


Configuring FTP Client :

Filezilla is one of the widely used FTP clients. We always recommend our customers to use Filezilla as your FTP Client. Following are the steps to configure Filezilla for SFTP.

  1. Open Filezilla.

  2. Go to Edit >> Settings.

  3. Select SFTP and click on Add Key File and import the .ppk file. You can rename the file to .ppk if you face any issue while importing.

  4. You can view the imported file in Filezilla as per the below screen capture.

  5. Now, connect your FTP account on the server with the SFTP.

  6. Accept the Certificate and you should be able to connect using the SFTP.

Was this answer helpful?

« Back