We recently added Secure FTP (SFTP) to our Shared plans. SFTP, different than FTP access, doesn’t use the normal cPanel login to access your account. Below is our guide on using FileZilla and connecting to SFTP for shared accounts.
Generate access keys via cPanel
The first step is creating your public and private keys. If you haven’t done this, you can find the instructions in the following article SSH access for Resellers and Shared Servers. If you already created keys for SSH access, you will use the same keys for SFTP.
Create the FileZilla profile
The next step is creating your SFTP profile in your FileZilla application. There are two steps in this process. First, you need to attach your private key file to FileZilla. Next, you need to create your connection profile.
NOTE: If you have converted the key to PPK format using cPanel make sure to review the PuTTy-User-Key-File version that it has been converted to. You will see it in the first line when you convert the key (as per the screenshot below). Some FTP clients are unable to use the PuTTy_user-Key-File-3 version. The version that is converted will vary based on the cPanel version that you are using. Build 94 and older will use the older formats (version 1 and 2). FileZilla is noted for not supporting version 3 of the PPK file. You can use another FTP client to avoid this issue.
Attach your private keyfile.
- Log into your FileZilla application.
- From the upper toolbar, click on Edit and then Settings.
- A settings popup will appear. From there click on SFTP in the left-hand toolbar. In the right panel, click on the Add keyfile… button.
- Using the popup window, navigate to the ppk file you saved for your private key and click Open.
- The keyfile will appear in the list. Click the OK button to save the information.
Set up the SFTP connection profile
- Using the upper toolbar, click on File and then Site Manager.
- A popup will appear for you to create a new profile. Click on the New Site.
- The right hand form will appear brighter, indicating you can now enter data in it. Be sure to enter data into the following fields:
Field Description Host Enter your domain name (ie: example.com) or server IP Port Set this to “2222”. Protocol Set this to “SFTP – SSH File Transfer Protocol”. Logon Type Set to “Ask for Password”. User Enter your cPanel username. Password Enter your current cPanel password.
- Once all of the correct settings have been added, click Connect to let FileZilla connect to your server.
Once you have completed the above, you should be able to connect to your shared account using SFTP.