Thursday, September 20, 2007

Secure Copy

Copy local file to remote location:

scp <local-file-path>/<file-name> <username>@<server-name>:<location-from-home-dir>

Copy remote file to local location:

scp <username>@<server-name>:~/<path-to-file>/<file-name> <local-directory-location>

No comments: