howtos » scp Usage

scp Usage

Secure File Copy (scp) allows you to copy files between hosts using the SSH protocol.

To copy from a remote host to your current host

PERL:
  1. scp -r user@remotehost:path/to/remotefiles localtarget
  2.  
  3. #-r recursive copy
  4. #you will be prompted for user's password @ remotehost

To copy files from your current host across to the remote host

PERL:
  1. scp -r localfiles user@remotehost:path/to/remotetarget

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <blockquote cite=""> <code> <em> <strong>