SSH and SFTP
Safer file transfer and working from the command line, if SSH is included in your plan.
SSH lets you work with the account through the command line, and SFTP is secure file transfer over the same channel. The availability of SSH access depends on your plan. If you do not see it in cPanel, check with us (ticket).
Connection details#
- Host:
yourdomain.comor the server address from the welcome email - User: the cPanel username
- Port: the port listed in cPanel / your access details
- Password or an SSH key
SFTP in FileZilla#
- Open File → Site Manager → New Site.
- For Protocol choose SFTP - SSH File Transfer Protocol.
- Enter the host, the port listed in cPanel / your access details, the user and password.
- Click Connect and confirm the server's key fingerprint on the first connection.
Connecting from a terminal#
bash
ssh user@yourdomain.com -p PORTReplace PORT with the number from your access details.
Enabling an SSH key#
- In cPanel, in the Security section, open SSH Access, then Manage SSH Keys.
- Click Generate a New Key or Import Key if you already have one.
- Next to the public key click Manage and Authorize.
¿Te ha resultado útil este artículo?
¡Gracias por tu opinión! ¿Necesitas ayuda? Abre un ticket.
Artículos relacionados
FTP access and FileZillaHow to connect to your hosting with FileZilla and transfer files.Creating a new FTP accountHow to create a separate FTP account in cPanel with access limited to one folder.File permissionsWhat numbers like 644 and 755 mean, which values are usual and how to change them.The public_html folder structureWhat lives in which folder, where your site goes and where addon domains and subdomains go.
