PDA

View Full Version : Tutorial: How to transfer files from one server to another via SSH, command line



Fli
06-16-2013, 05:16 PM
Do you have two servers both with SSH access? How to transfer some file from one server to another?

Example:

scp [email protected]:/home/vz/template/cache/centos-5-x86_64-xxxx.tar.gz /home/vz/template/cache/centos-5-x86_64-xxxx.tar.gz

LEGEND:scp
91.11.92.11 = IP of server to which im connecting and downloading files from
then full path to the REMOTE server
then full local path