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
22by default instead of port21. - SFTP requires SSH access to be enabled on your hosting account.
Enabling SSH Access
Before connecting via SFTP, ensure SSH access is enabled:
- Log in to your cPanel.
- Navigate to Security > SSH Access.
- If SSH is not enabled, contact SillyHost support to have it activated on your account.
Connecting with FileZilla via SFTP
- Open FileZilla and go to File > Site Manager.
- Click New Site and enter a name for your connection.
- Set the Protocol to SFTP - SSH File Transfer Protocol.
- Enter your Host (your domain or server IP address).
- Set the Port to
22. - Set Logon Type to Normal and enter your cPanel username and password.
- 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.