Linux use ‘SCP’ copy file or directory

 



# cp -r -c arcfour128 account@remote-ip-address:/source-folder  {target-folder}
or
# cp -r -c arcfour128 {source-folder}  account@remote-ip-address:/target-foler

-r Recursively copy entire directories
-c arcfour128 //啟用本地壓縮後再傳輸而不是在SSH過程才壓縮



Reference :

1. http://itindex.net/detail/46367-%E5%8A%A0%E9%80%9F-scp-%E4%BC%A0%E8%BE%93

2. http://www.microtuts.com/download-filesdirectories-from-server-using-the-terminal-and-scp/

3.  http://kpdirection.com/technology/copying-a-remote-folder-using-scp/