How to transfer files from a VPS to another VPS

Moebuntu

Well-known member
Registered
Joined
Jul 1, 2016
Messages
103
Points
18
I am checking 2 VPS from 2 different VPS companies. Normally I use FTP client to upload from a VPS to another VPS but I can use SSH instead of transferring files?
for example, I want to copy or move file1.zip from VPS1 to VPS2 via SSH. It's possible to do that?
 

LJSHost

Well-known member
Hosting Provider
Registered
Joined
Jul 5, 2016
Messages
1,031
Points
63
Yes, SSH has a function called SCP that will transfer files over SSH.
You can use the linux command line version or a windows GUI. https://winscp.net/eng/index.php

If you can't make the connection SCP might have to be enabled within SSH, but I think it's on by default.
 

steitieh

Well-known member
Joined
Apr 23, 2014
Messages
113
Points
18
From my experience, Winscp is very slow in transferring files between my computer and my hosting, not sure it will be faster between 2 different VPS.

I would recommend using zip command to compress your files/folders and using wget to transfer files between 2 VPS's.
 

kurokood

Member
Registered
Joined
Aug 1, 2016
Messages
27
Points
0
If this isn't something you is going to do frequently go for SCP but if you are by using this for any backup system it is a lot more efficient to choose rsync, this way it'll only transfer the alterations and never consume an excessive amount of sources.
 
Newer Threads
Replies
14
Views
11,229
Replies
3
Views
1,783
Replies
5
Views
2,814
Recommended Threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top