How to Connect via SFTP

Updated 25 February 2026 11 views FTP & File Management

Connecting via SFTP

SFTP (SSH File Transfer Protocol) provides a secure, encrypted connection for transferring files to and from your hosting account. It is more secure than standard FTP and is the recommended method for file transfers.

SFTP vs FTP

The key differences between SFTP and standard FTP are:

  • SFTP encrypts all data including credentials and file contents during transfer.
  • FTP transmits data in plain text, making it vulnerable to interception.
  • SFTP uses port 22 by default instead of port 21.
  • SFTP requires SSH access to be enabled on your hosting account.

Enabling SSH Access

Before connecting via SFTP, ensure SSH access is enabled:

  1. Log in to your cPanel.
  2. Navigate to Security > SSH Access.
  3. If SSH is not enabled, contact SillyHost support to have it activated on your account.

Connecting with FileZilla via SFTP

  1. Open FileZilla and go to File > Site Manager.
  2. Click New Site and enter a name for your connection.
  3. Set the Protocol to SFTP - SSH File Transfer Protocol.
  4. Enter your Host (your domain or server IP address).
  5. Set the Port to 22.
  6. Set Logon Type to Normal and enter your cPanel username and password.
  7. Click Connect.

Using SSH Keys for Authentication

For enhanced security, you can use SSH key-based authentication instead of password authentication. Generate a key pair using ssh-keygen on your local machine, then add the public key to your cPanel SSH Access settings. In FileZilla, set the logon type to Key file and select your private key.

Troubleshooting SFTP Connections

If you cannot connect, verify that SSH access is enabled on your account, check that you are using port 22, ensure your IP is not blocked by the firewall, and confirm your credentials are correct. Contact support if issues persist.

Was this article helpful?

Let us know so we can improve our docs.