Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
stylenone

Overview

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.

Configure your SFTP client

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

SettingDescriptionPossible valuesExample
HostnameThe server's hostname.A valid hostname or IP address.hostname.example.com
SSH port numberThe port number on which sshd listens.A valid positive integer.22
SecurityWhether the client combines FTP and SFTP functionality.SFTPSFTP
UsernameThe SSH username that the client uses to connect to the server.
  • A valid cPanel account username.
  • root
Note
titleNote:

You cannot use an FTP account to connect via SFTP. 


example
PasswordThe SSH user's password.A secure password.12345luggage
Private KeyThe SSH user's private key.

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

Note
titleNotes:
  • cPanel users can generate and download a private key via 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 Keysinterface (WHM >> Home >> Security Center >> Manage root's SSH Keys).


c:\data\id_dsa


Note
titleNote:

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.

Additional information

Localtab Group


Localtab
activetrue
titleSuggested documentation

Content by Label
showLabelsfalse
max5
showSpacefalse
cqllabel = "ftp" and label = "whm" and space = currentSpace()


Localtab
titleFor cPanel users

Content by Label
showLabelsfalse
max5
showSpacefalse
cqllabel = "ftp" and label = "cpanel" and space in ("DOC",currentSpace())


Localtab
titleFor WHM users

Content by Label
showLabelsfalse
max5
showSpacefalse
cqllabel = "ftp" and label = "whm" and space in (currentSpace(),"DOC")


Localtab
titleFor developers

Content by Label
showLabelsfalse
max5
showSpacefalse
cqllabel = "ftp" and space = "DD"