SSH File Transfer
SSH or Secure Shell is a network protocol that allows data to be exchanged using a secure channel between two networked devices.
To work with SSH File Transfer you need the program called PuTTY. You can download it here. After downloading PuTTY, run it.
Connect
Write the IP of your server in the ‘Host Name (or IP address)’ section and click ‘Open’

After opening SSH you need to login as ‘root’ and press enter. Now type in your password (you will not see anything while typing your password, thats normal) and press enter.
Now you are connected to your server with SSH
Commands
Using SSH to transfer a website is easy and fast.
First you need to make a full cPanel backup from the site that has to be transferred and put it online. For example http://www.yourdomain.com/backup.tar.gz
After doing that, connect with SSH like I explained above and type this command:
wget http://www.yourdomain.com/backup.tar.gz
Press enter and your download to the root will begin. Once it is completed login to your WHM (Web Host Manager) and click ‘Restore a Full Backup’. Fill in the username you want to restore (this should be the same username as it was on the other server) and click ‘Restore’. Now your website will be restored fully at your server.
You just transferred a website using SSH File Transfer.
Recent Comments