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,609
Replies
3
Views
1,878
Replies
5
Views
3,004
Latest Threads
Recommended Threads
Replies
6
Views
1,437
Replies
5
Views
2,144
Replies
2
Views
2,587
Replies
6
Views
5,140
Replies
5
Views
3,272

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