Practical Web Programming

Tuesday, April 15, 2014

Using scp (Secure Copy) to Copy Files from Remote Server

Copy a file from a remote host to a local machine

$ scp username@example.com:/home/kabalweg/my_archive.ta.gz /home/kabalweg/local

Copy a file from a local machine to a remote host

$ scp /home/kabalweg/local/my_archive.tar.gz username@example.com:/home/kabalweg
 

0 comments:

Recent Post