Total Pageviews

Saturday, 8 June 2013

scp的用法

The syntax is as follows-
* Copy from Remote Host  to local machine:
  $ scp jamee@10.11.12.13:/home/jamee/jamee.gz /home/oleen
 
Copy from local machine to Remote Host: 
$ scp /home/jamee/jamee.gz jamee@10.11.12.13:/home/oleen/
 
Just add a " -r " before directory name in case of copying a diretory. 

scp就是secure copy(安全的复制)。