How to Configure Your SFTP Client
Last modified: July 28, 2021
This document provides the information to connect to your cPanel account via SFTP (SSH File Transfer Protocol or Secure File Transfer Protocol). SFTP provides file access, transfer, and management tools that resemble FTP through a secure SSH connection. However, SFTP is not merely FTP over SSH. Instead, it is an entirely separate protocol.
For more information about SFTP, read the SFTP Wikipedia article.
If you cannot connect to your cPanel account via SFTP, open a support ticket with cPanel Technical Support.
Configure your SFTP client
SFTP clients typically require the following information to connect to a server:
Hostname — The server’s hostname (for example,
SSH port number — The port number on which
sshdlistens (for example,
Security — Whether the client combines FTP and SFTP functionality.
Username — The SSH username that the client uses to connect to the server. The username can be a valid cPanel account username or the
You cannot use an FTP account to connect via SFTP.
Password — The SSH user’s password.
Private Key — The SSH user’s private key. This is the absolute path to a private key on your local computer (for example,
- You may see a warning that the server’s host key is unknown. To ensure that this message does not display again, accept the key and store it on your local computer.
- The SSH user’s private key is encrypted. The system may prompt you to enter the key’s password when you connect via SFTP.