Helpful exmpales for Secure Copy (scp) Print

  • server, scp
  • 101

scp allows you to copy files to, from, or between different hosts. It relays on ssh and provides the same authentication and same level of security.

Copy a file named xyz.txt from a remote host to the local host:
$: scp user@remote.host:xyz.txt /your/local/directory

Copy a file named xyz.txt from the local host to a remote host:
$: scp xyz.txt user@remote.host:/your/remote/directory

Was this answer helpful?

« Back