Copy files from one linux machine to another
It's fairly easy to transfer files from one Linux server to another using the scp command.
scp -pv firstname.lastname@example.org:source-file.tar /home/user/source-file.tar
-p Preserves the modification and access times, as well as the permissions of the source-file in the destination-file
-q Do not display the progress bar
-r Recursive, so it copies the contents of the source-file (directory in this case) recursively
-v Displays debugging messages
To use this command you need to have open-ssh installed in the hosts.comments powered by Disqus