How to Configure Your SFTP Client

Configure your SFTP client

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

Setting
Description
Possible values
Example
Hostname The server's hostname. A valid hostname or IP address. hostname.example.com
SSH port number The port number on which sshd listens. A valid positive integer. 22
Security Whether the client combines FTP and SFTP functionality. SFTP SFTP
Username The SSH username that the client uses to connect to the server.
  • A valid cPanel account username.
  • root

Note:

You cannot use an FTP account to connect via SFTP. 

example
Password The SSH user's password. A secure password. 12345luggage
Private Key The SSH user's private key.

The absolute path to a private key file on your local computer.

Notes:

  • cPanel users can generate and download a private key via cPanel's SSH Shell Access interface (Home >> Security >> SSH Shell Access).
  • The root user can generate and download a private key via WHM's Manage root's SSH Keys interface (Home >> Security Center >> Manage root's SSH Keys).
c:\data\id_dsa

Note:

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.

Was this answer helpful?

 Print this Article

Also Read

How to Enable FTP Passive Mode

Active mode vs. passive mode FTP uses two ports, a data port and a command port, to...

How to Restore Missing FTP Interfaces in cPanel

If you set your server's FTP service to use the unmanaged setting, you may experience problems...

Setting Up FTP User

View video below:

Anonymous FTP

Overview This interface allows you to define how anonymous users interact with your...