When moving your website to a new type of hosting, you might need to carry out an ssh transfer. This is a rather straightforward process, and you should be able to cope with it without third-party help. In this article, you’ll find step-by-step instructions on completing the ssh transfer of your site using a dedicated ssh client or the Terminal on Mac OS. Plus, you’ll discover a comprehensive list of benefits of moving to a cloud hosting that might require such a transfer.
The ssh transfer should come in handy if you’re planning to relocate a large site to new hosting — for example, when switching to a cloud server hosting provider from shared hosting.
Not all types of site migration require an ssh transfer. For instance, you won’t need it if you have a simple WordPress blog and you want to migrate it from one server to another. In this case, the process of migration boils down to relocating the WP-content folder and the old database. If your website is small or new, you can rely on a free FTP client, such as Cyberduck or FileZilla.
But what if your WP-content folder is over 2GB? The manual transfer might take too much time. To accelerate the process, you might resort to ssh and the sFTP command.
You might want to move your website from shared hosting to cloud hosting for the following reasons:
Many websites start with shared hosting because it’s the most budget-friendly option and move to clouds as they begin to scale.
Apart from compressing your WP-content folder into a single file, you might also want to compress the entire root directory and transfer it to your new hosting. You might consider running commands either with the help of Terminal on Mac OS or in an ssh client like Putty.
The process can be broken down into the following simple steps:
Some hosting providers might not give SSH access to their clients. If so, you can ask your provider’s support team to decompress the compressed folder. Or, the provider might allow you to enable SSH access by login into your cPanel.
Here is a step-by-step guide on the sequence of commands that you need to introduce:
After you run all these commands, they will start to transfer your backup file from old to new hosting. Depending on the size of the file, it should take just a few minutes.
Once the file reaches the new hosting server, the only thing you need to do is to decompress it. You might ask the support team of your hosting provider to help you with this task.
Hopefully, you found this article informative, and now you better understand how to copy files from shared hosting to a cloud server using ssh. Thanks to moving to cloud hosting, you’ll be able to save funds and ensure stronger security for your website. Your site will work quicker, its uptime will increase, and it will be easier for you to scale it. Cloud hosting is environmentally sustainable and famous for its excellent performance. It should help you to expand your client base and maximize your revenue.
“Vinny, you gotta get these books outta here by five or I’m gonna fire you.”…
It's crucial for any business owner to understand what marketing is and to learn how…
With the advancements in technology, there is a lot of competition in the market. There…
The data showed a 9.32 percent increase in difficulty on the bitcoin network and a…
Auditing is crucial for evaluating how well an organization is fulfilling or complying with industry…