Celebrate Our 22nd Anniversary with Huge Savings! Up to 70% Off

How to use SFTP to connect a cPanel account?

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

SFTP, called ssh File Transfer Protocol used to transfer files over a 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. Log in to the cPanel account.

2. Click on the SSH Icon inside the Security section.

SSH Access

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

Manage SSH Keys



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

Generate key

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

Authorize

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

Download Private Keys

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 use Filezilla as their FTP Client. Following are the steps to configure Filezilla for SFTP.

1. Open Filezilla.

2. Go to Edit >> Settings.

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 issues while importing.

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

Add Key File

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