Overview

This document provides essential information for connecting to your cPanel account using SFTP (SSH File Transfer Protocol or Secure File Transfer Protocol). SFTP offers secure file access, transfer, and management capabilities similar to FTP, all facilitated through an SSH connection. It is important to note that SFTP is a distinct protocol and not simply FTP operating over SSH.

Configure Your SFTP Client

To establish an SFTP connection, please refer to your specific SFTP client's documentation for detailed setup instructions. If you do not currently have an SFTP client installed on your computer, we recommend considering one of the following options:

Typically, SFTP clients require the following details to connect to a server:

Item Description Example
Hostname The server’s hostname. hostname.example.com
SSH port number The port number on which sshd listens. 22
Security Indicates whether the client combines FTP and SFTP functionality. FTP or SFTP
Username The SSH username used by the client to connect to the server. This can be either:

  • A cPanel account username.
  • The root user.
Important:
You cannot use an FTP account to connect via SFTP.
example
root
Password The SSH user’s password. luggage12345
Private Key The absolute path to a private key located on your local computer (e.g., c:\data\id_dsa).

  • cPanel users can generate and download a private key through cPanel’s SSH Access interface (cPanel » Home » Security » SSH Access).
  • The root user can generate and download a private key via WHM’s Manage root’s SSH Keys interface (WHM » Home » Security Center » Manage root’s SSH Keys).
Important:
The SSH user’s private key is encrypted. You may be prompted to enter the key’s password when establishing an SFTP connection.
Click to view…

If you encounter difficulties connecting to your cPanel account via SFTP, please contact our support team for assistance.

Was this answer helpful? 0 Users Found This Useful (0 Votes)