If you are an experienced user and feel comfortable using SSH, this article is just for you. For easier alternatives, you can backup via File Manager (Beta), using an FTP client, or with the Import Website feature on hPanel.

SSH is a really efficient and fast way of transferring files from your local computer to the server. Here are some easy steps to be followed:

  • Open Terminal (Linux/macOS), or Command Prompt/PowerShell (Windows) on your local computer.

  • Upload your files using the command format below:

scp -P 65002 /home/user/Desktop/[filename] username@IP:the/path/to/backup

Replace /home/user/Desktop/[filename] with your local path to the file itself. An example command from a Windows computer would look like this:

scp -P 65002 C:/Users/MyUser/Desktop/File.txt u123456789@
  • Once you run it, it will ask for an FTP account password. Insert the password, then press Enter.

  • Wait until the upload is done and you will be good to go!

That’s it! Now you know how to upload files to your hosting using SSH 😊

Additional resources:

Did this answer your question?