Home > Help Center > Shared Hosting > Control Panel > Configure SFTP Client in cPanel

Configure SFTP Client in cPanel

Because File Transfer Protocol (FTP) cannot guarantee security, many users prefer to use SSH File Transfer Protocol (SFTP).

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.

SFTP uses your cPanel account's shell access to create a connection.

Note: You cannot use an FTP account to connect via SFTP.

Download and Install SFTP Client

In our example we are going to use a very popular SFTP client WinSCP. Go to download page and click Portable executables link :

https://winscp.net/eng/download.php

The WinSCP-5.11.1-Portable.zip is ZIP archive containing both WinSCP executables, intended for portable use.

Extract the archive, place it in your Program Files folder and create shortcut of WinSCP.exe file on the desktop(for Windows users).

Open WinSCP.

Configure SFTP Client

SFTP clients typically require the following information to connect to a server:

  • Hostname - a valid hostname or IP address
  • SSH port number - the port number on which sshd listens - 22022
  • Security Protocol - SFTP
  • Username - the SSH username (usually cPanel username).
  • Password - the SSH password (usually cPanel password).

All these settings you'll receive in your welcome email when you purchase and activate SSH in your hosting plan.

Enter the login credentials in the appropriate fields:

sftp winscp

If you see this screen click first Copy Key and then click Yes:

sftp winscp

Your SFTP connection is ready to transfer your files:

sftp winscp

#apps #security

Still not finding what you're looking for?

Contact our support team with any additional questions or concerns.

Contact support