NOTE: If you are an experienced user and you are not afraid of using SSH, this article is just for you. Although if you are looking for an easier solution, you can upload your backup via File Manager, FTP or Import Website feature.

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

  • Open Terminal (Linux), Command Prompt/PowerShell (Windows) on your local computer.
  • Upload your files using a 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 Windows computer would look like this:

scp -P 65002 C:/Users/MyUser/Desktop/File.txt u123456789@185.185.185.185:/home/u123456789/domains/domain.tld/public_html
  • Once you run it, it will ask for an FTP account password. Insert the password, 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 😊

NOTES:

Did this answer your question?