Loading...

Knowledge Base
 Up to 70% off  on  WordPress  hosting for WordPress Websites and Stores!

Setting Up Using Secure FTP

Secure FTP (SFTP) is available with your Bluehost hosting account and is recommended for use when uploading content. It is more secure than regular FTP, as data is encrypted while being transmitted over the internet.

To use it on a shared hosting account, you will first need to enable SSH Access for your account. On a VPS or Dedicated server, SFTP is enabled by default.

Note: Additional FTP users created through the control panel cannot connect using SFTP. On shared, SFTP is available for use only by the account username. On VPS and Dedicated servers, any cPanel account username or the root user can connect through SFTP.

Using SFTP

Our servers do support Secure FTP or SFTP. There are a couple of things that you will need to do to use this option on our servers.

  • Download an FTP program that supports Secure FTP. Most popular programs should do so.
  • (For Shared only) You will need to enable SSH/Shell access to your account. If you do not already have SSH/Shell access, check out our article about What is SSH Access and How to Enable It in Your Hosting Account for further information.
  • Configure your FTP program to use SFTP on port 22. (For VPS/Dedicated: if the ssh port has been changed from the default of 22, the SFTP port also changes inline.)

General SFTP Settings

If you are setting up a new connection, enter the following settings. The ones below are intended for use with Filezilla, but most FTP clients will have similar options.

  • Host: Your domain name or server IP address.
  • Port: 22 (For VPS/Dedicated only: or provide your custom SSH port)
  • Protocol: SFTP - SSH File Transfer Protocol
  • Encryption: N/A
  • Logon Type: Normal or Ask for Password
  • User: Your cPanel username (or 'root' on a VPS/Dedicated server)
  • Password: As appropriate for the user

Note: The main domain, username, and IP address can be found in the General Information section on the right-hand side of your control panel by opening the Advanced tab from the left menu. The Password is the same as your control panel password.
General Information

  1. Log in to your Bluehost Account Manager.
  2. Click the Hosting tab from the side navigation.
  3. Find the General Information section situated on the right-hand side.
    bh-am-cpanel-general-information

Setting up a new SFTP connection in FileZilla Site Manager

To create a connection in FileZilla, you must use the Site Manager.

  1. Click on File in the top menu, then select Site Manager.
    Filezilla - Site Manager
  2. Click the New Site button.
    Filezilla - New Site
  3. Enter a name for the new site.
    Filezilla - Enter details
  4. Enter the following settings:
    Filezilla - General tab - Enter details
    • Host: Your domain name or server IP address.
    • Port: 22 (For VPS/Dedicated only: or provide your custom SSH port.)
    • Protocol: SFTP - SSH File Transfer Protocol
    • Encryption: N/A
    • Logon Type: Normal
    • User: Your cPanel username (or root on a VPS/Dedicated server)
    • Password: As appropriate for the user
  5. Click the Transfer Settings tab, select the Limit number of simultaneous connections checkbox, and set the limit to 8.
    Filezilla - Transfer Settings tab
  6. Click the Connect button.

Once you click Connect, it should initiate a connection to the server and allow you to download and upload files by dragging and dropping files and folders between the local and remote site sections.

Changing an existing connection in FileZilla

If you have an existing FTP connection, changing it to use SFTP is very simple. In the Site Manager for the connection, change the protocol from FTP to SFTP, as shown below:

SFTP-settings

When you do so, the Encryption option will be disabled. There is no need to provide a port unless you are on a VPS/Dedicated server and have changed the ssh port (see image above). Otherwise, the field should be left blank.

Additional Tips

  • If using SFTP and connecting to an IP address, you will typically receive a warning about the secure certificate not matching. This certificate can be accepted, though it’s generally best to use a domain name covered by an SSL.

  • After connection and login, there should be no difference between an SFTP session and an FTP one. Files are uploaded and downloaded in the same way.

  • (For VPS/Dedicated only) When connecting as the root user, you will be in the /root folder. You can go up one level from there to see all files and folders on the server. Please be very careful if making any changes this way, as it is very easy to break a server.

Summary

Secure FTP (SFTP) provides a superior level of security for transferring files, making it a recommended choice for BRAND hosting users. To leverage SFTP, shared hosting users must enable SSH Access, while those on VPS and Dedicated servers will find it enabled by default. Configuring an FTP client, such as FileZilla, with specific settings—like the server IP, port 22, and user credentials—is essential for utilizing SFTP. This guide outlines the steps for setting up and modifying SFTP connections, emphasizing the secure and efficient upload and download of files. Overall, SFTP stands out as a secure method for managing files, ensuring data is encrypted during transmission and safeguarded against unauthorized access.

If you need further assistance, feel free to contact us via Chat or Phone:

  • Chat Support - While on our website, you should see a CHAT bubble in the bottom right-hand corner of the page. Click anywhere on the bubble to begin a chat session.
  • Phone Support -
    • US: 888-401-4678
    • International: +1 801-765-9400

You may also refer to our Knowledge Base articles to help answer common questions and guide you through various setup, configuration, and troubleshooting steps.

Did you find this article helpful?

 
* Your feedback is too short

Loading...