How to Connect to Your Cpanel Hosting Account Using SFTP and an SSH Key Print

  • ssh
  • sftp
  • filezilla ftp
  • ftp

As of August 2026, JUCRA Digital shared hosting servers no longer support traditional FTP connections. All file transfers must now use SFTP (SSH File Transfer Protocol) with SSH key authentication.

Why Does JUCRA now Require SFTP?

Traditional FTP is an old protocol that was not designed around modern security requirements. Standard FTP can expose authentication credentials and transferred data and requires additional publicly accessible server services.

SFTP operates through SSH and provides encrypted communication between your computer and the hosting server.

Requiring SFTP with SSH key authentication provides several security benefits:

  • File transfers are encrypted.
  • Authentication credentials are not transmitted using traditional FTP authentication.
  • SSH keys provide significantly stronger authentication than reusable FTP passwords.
  • Automated password-based attacks against FTP services are eliminated.
  • Fewer internet-facing services are required on our shared hosting infrastructure.
  • The overall attack surface of the hosting platform is reduced.

Traditional FTP was permanently retired across JUCRA Digital shared hosting servers on 18 August 2026 as part of our ongoing programme of removing legacy services where more secure alternatives are available.

You can review our announcment here: https://jucra.com/whmcs/announcements/165/

In Summary

To access files on a JUCRA Digital shared hosting server, remember:

SFTP + Custom SSH Port + cPanel Username + Authorised SSH Key

Changing an old FTP connection to "SFTP" without configuring the SSH key and correct port is not sufficient.


Important: Simply Changing FTP to SFTP Will Not Work

SFTP operates over SSH and uses a different authentication method from traditional FTP.

To connect successfully you must use SFTP, the custom SSH/SFTP port assigned to your hosting server, your cPanel username, and an SSH key that has been authorised inside cPanel.

Before You Start

You will need:

  • Your hosting server hostname.
  • Your cPanel username.
  • The custom SSH/SFTP port assigned to your hosting server.
  • An SSH public/private key pair.
  • Your public SSH key installed and authorised inside cPanel.
  • Your private SSH key securely stored on your computer.
  • An SFTP-compatible application such as FileZilla, Cyberduck, WinSCP or Transmit, or an SSH/SFTP client through Terminal.
Traditional FTP will not work.

Do not use FTP, FTPS or port 21. Standard FTP has been permanently disabled on JUCRA Digital shared hosting servers.

Successful Connection Checklist

  • βœ“ Protocol is SFTP – SSH File Transfer Protocol.
  • βœ“ You are using the correct server hostname.
  • βœ“ You are using the custom SSH/SFTP port supplied for the server.
  • βœ“ You are using your cPanel username.
  • βœ“ Your SSH public key has been added to cPanel.
  • βœ“ Your SSH public key has been authorised inside cPanel.
  • βœ“ The corresponding private key is available on your computer.
  • βœ— You are not attempting to authenticate using your old FTP password.

GET STARTED HERE

Follow th steps below to generate your keys, authorise the keys into cpanel and prpoeare your FTP software

Β 

Step 1 β€” Open SSH Access in cPanel

First, log in to the cPanel account associated with your hosting service.

  1. Log in to cPanel.
  2. Locate the Security section.
  3. Click SSH Access.
  4. Click Manage SSH Keys.

This area allows you to create, import and manage the SSH keys permitted to access your hosting account.

What is an SSH key?

An SSH key pair consists of two related keys:

  • Public key β€” installed and authorised on the hosting server.
  • Private key β€” remains securely on your computer and is used to authenticate when connecting.

Β 


Β 

Step 2 β€” Create Your SSH Key (Skip this if you already have a public key)

You can generate an SSH key directly inside cPanel or create one on your computer and import the public key into cPanel.

You have two options to generate a key:

1. You can generate a new one within cpanel.
2. you can generate one from your local machine.

NOTE: if you are a pro and already have a local key on your machine, just skip this step.strong>

Option A β€” Generate the SSH Key in cPanel

For most customers, generating the key directly inside cPanel is the easiest option.

  1. Open SSH Access inside cPanel.
  2. Click Manage SSH Keys.
  3. Click Generate a New Key.
  4. Enter a suitable name for the key or leave the default name.
  5. Enter a secure passphrase if required.
  6. Select the appropriate key type and key size using the options provided by cPanel.
  7. Click Generate Key.

Important: You Are Not Finished Yet

Generating an SSH key does not automatically authorise it. You must complete Step 3 and explicitly authorise the key before it can be used.

Option B β€” Generate the SSH Key on macOS or Linux

Open Terminal and run:

ssh-keygen -t ed25519

Follow the prompts displayed in Terminal. Unless you have a specific reason to change the location, you can use the suggested location.

Alternatively, give the key a descriptive filename:

ssh-keygen -t ed25519 -f ~/.ssh/jucra_hosting

This creates two files:

~/.ssh/jucra_hosting
~/.ssh/jucra_hosting.pub

The file ending in .pub is your public key.

The file without .pub is your private key.

Option C β€” Generate the SSH Key on Windows

Current versions of Windows normally include the OpenSSH tools required to generate an SSH key.

Open Windows Terminal or PowerShell and run:

ssh-keygen -t ed25519

Follow the prompts. The public key will have a .pub extension. The corresponding file without the extension is your private key.

Never Share Your Private SSH Key

Your private SSH key should remain securely on your computer. Never email it, upload it publicly, or send it to JUCRA Digital or another third party.

Importing a Locally Generated Public Key into cPanel

If you generated your SSH key on your computer, you must import the public key into cPanel.

  1. Log in to cPanel.
  2. Open SSH Access.
  3. Click Manage SSH Keys.
  4. Click Import Key.
  5. Enter a suitable name for the key.
  6. Paste the contents of your public key into the public key field.
  7. Complete the import.
Remember:

The file ending in .pub is the public key. Your private key should remain securely on your computer.

Β 


Β 

Step 3 β€” Authorise Your SSH Key in cPanel

This Step Is Essential

An SSH key can exist inside cPanel without being authorised. If the key has not been authorised, your SFTP connection will fail.

After creating or importing your public key:

  1. Go to cPanel β†’ SSH Access β†’ Manage SSH Keys.
  2. Locate the public key you want to use.
  3. Click Manage.
  4. Click Authorize.
  5. Confirm that cPanel reports the key as authorized.


Common mistake:

Importing or generating a key is not the same as authorising it. You must explicitly click Authorize.

Β 


Β 

Step 4 β€” Obtain Your Private SSH Key

The computer connecting to the server must have the private key corresponding to the public key you authorised inside cPanel.

If You Generated the Key on Your Computer

You should already have the private key stored on your computer.

For example, if your public key is:

~/.ssh/jucra_hosting.pub

Your corresponding private key is normally:

~/.ssh/jucra_hosting

If You Generated the Key Inside cPanel

Return to:

cPanel β†’ SSH Access β†’ Manage SSH Keys

Locate the appropriate private key and use the options provided by cPanel to view or download it.

Keep Your Private Key Secure

The private key is your authentication credential. Do not email it, publish it or share it with another person.

Private Key Permissions on macOS/Linux

If SSH reports that your private key permissions are too open, run:

chmod 600 ~/.ssh/jucra_hosting

Replace jucra_hosting with the actual filename of your private key.

Β 


Β 

Step 5 β€” Connect Using FileZilla/Transmit FTP

Most modern FTP programs support SFTP connections using SSH key authentication.

Do Not Simply Reuse Your Old FTP Settings

Opening your old FTP connection and changing the protocol from FTP to SFTP is not sufficient.

You must also configure the custom SSH/SFTP port and SSH key authentication.

Create a New Connection

  1. Open Your FTP Software.
  2. Select File β†’ Site Manager (or similar)
  3. Click New Site.
  4. Give the connection a descriptive name.

Enter Your Connection Details

Protocol SFTP – SSH File Transfer Protocol
Address/Host Your hosting server hostname
Port The custom SSH/SFTP port supplied fby JUCRA (ask us)
Logon Type/Key Key file
User Name Your cPanel username
Key file Select the private SSH key stored on your computer

TRANSMIT FTP EXAMPLE


Your FTP Software Settings Should Be:

  • Protocol: SFTP – SSH File Transfer Protocol
  • Host: Your hosting server hostname
  • Port: Custom SSH/SFTP port
  • Logon Type: Key file
  • User: Your cPanel username
  • Key file: Your private SSH key

Connect to the Server

Click Connect.

The first time you connect, your ftp software may display the server's SSH host key and ask whether you trust the server.

Review the information displayed and, if correct, accept the server key to continue.

If your private SSH key is protected with a passphrase,your ftp software may ask you to enter the SSH key passphrase.

Important:

An SSH key passphrase is the passphrase protecting your private key. It is not your old FTP or cPanel password.

Β 


Β 

Step 6 β€” Connect Using Terminal

Users comfortable with the command line can connect directly using SSH or SFTP.

Connect Using SSH

ssh -p [SSH-PORT] -i ~/.ssh/jucra_hosting CPANEL_USERNAME@SERVER_HOSTNAME

Connect Using SFTP

sftp -P [SSH-PORT] -i ~/.ssh/jucra_hosting CPANEL_USERNAME@SERVER_HOSTNAME

Replace:

  • [SSH-PORT] with the custom SSH/SFTP port supplied for your server.
  • jucra_hosting with the filename of your private key.
  • CPANEL_USERNAME with your cPanel username.
  • SERVER_HOSTNAME with your hosting server hostname.
Note:

The command-line SFTP client uses an uppercase -P when specifying a custom port.

Β 


Β 

Troubleshooting β€” My SFTP Connection Does Not Work

I changed FTP to SFTP but it still doesn't work

Changing the protocol alone is not sufficient.

Your connection must use all of the following:

  • SFTP – SSH File Transfer Protocol.
  • The custom SSH/SFTP port assigned to the server.
  • Your cPanel username.
  • An SSH public key that has been installed and authorised inside cPanel.
  • The corresponding private SSH key on your computer.

My normal FTP username and password don't work

This is expected.

Traditional FTP and password-only FTP authentication are no longer available on JUCRA Digital shared hosting servers.

SFTP operates over SSH and requires an authorised SSH key.

I receive "Permission denied (publickey)"

This normally indicates an SSH key authentication problem.

Check that:

  • The correct public key has been imported into cPanel.
  • The public key has been authorised inside cPanel.
  • You have selected the corresponding private key on your computer.
  • You are using the correct cPanel username.
Remember:

Simply importing or generating an SSH key inside cPanel does not authorise it. Go to SSH Access β†’ Manage SSH Keys β†’ Manage β†’ Authorize.

I receive "Connection refused"

Check that you are using:

  • SFTP, not FTP or FTPS.
  • The correct hosting server hostname.
  • The custom SSH/SFTP port supplied for your server.

Do not use the standard FTP port.

My connection times out

First confirm that you are using the correct custom SSH/SFTP port supplied for your hosting server.

If the hostname, protocol and port are correct but the connection continues to time out, please contact JUCRA Digital Support and provide the exact error message displayed by your SFTP application.

FileZilla keeps asking me for a password

Check your FileZilla Site Manager configuration.

The connection should use:

  • Protocol: SFTP – SSH File Transfer Protocol
  • Logon Type: Key file
  • User: Your cPanel username
  • Key file: Your private SSH key

If your private key itself is protected by a passphrase, FileZilla may legitimately ask for that key passphrase.

The SSH key passphrase is not your old FTP password.

I created an SSH key in cPanel but it doesn't work

Creating a key does not automatically authorise it.

Return to:

cPanel β†’ SSH Access β†’ Manage SSH Keys

Locate the public key, click Manage and confirm that the key has been authorised.

I imported my public key but it doesn't work

Imported public keys must also be explicitly authorised inside cPanel before they can be used.

Go to:

cPanel β†’ SSH Access β†’ Manage SSH Keys β†’ Manage β†’ Authorize

I selected my .pub file in FileZilla

The .pub file is your public key and belongs on the server.

FileZilla needs access to your corresponding private key.

For example:

jucra_hosting.pub

is the public key, while:

jucra_hosting

is the corresponding private key.

Never send your private key to another person.

Your private key should remain securely stored on the computer from which you connect.

Can I use my cPanel password instead?

No. SFTP access to JUCRA Digital shared hosting servers requires SSH key authentication.

Your cPanel username is used to identify your hosting account, but authentication is performed using your authorised SSH key.

Can I continue using standard FTP?

No.

Standard FTP has been permanently retired across JUCRA Digital shared hosting servers.

Can I use FTPS instead?

No. Customers should use SFTP over SSH.

Although the names are similar, FTPS and SFTP are different technologies. This service specifically requires SFTP.

Β 


Still Unable to Connect?

Before contacting support, please confirm that you have completed every item in the following checklist:

  • βœ“ I am using SFTP – SSH File Transfer Protocol.
  • βœ“ I am using the correct hosting server hostname.
  • βœ“ I am using the custom SSH/SFTP port supplied for the server.
  • βœ“ I am using my cPanel username.
  • βœ“ I have created or imported an SSH public key.
  • βœ“ I have authorised the public key inside cPanel.
  • βœ“ I have the corresponding private key on my computer.
  • βœ“ I have selected the private key, not the .pub file, in my SFTP application.
  • βœ“ My SFTP application is configured to use key-file authentication.
  • βœ“ I am not attempting to connect using standard FTP or FTPS.

If All of the Above Are Correct

If you have completed every step above and are still unable to connect, please contact JUCRA Digital Support.

When contacting support, please provide:

  • Your hosting domain name.
  • The SFTP application you are using.
  • Your operating system.
  • The exact error message displayed by your SFTP application.
  • A screenshot of your connection settings, if possible.

Do not include your private SSH key.

Security Reminder

Your private SSH key should always remain private.

JUCRA Digital Support may ask to see your SFTP configuration or your public SSH key when troubleshooting a connection, but we will never require you to email your private SSH key to us.

Never send your private SSH key by email, support ticket, instant message or any other communication method.


Was this answer helpful?

« Back