Helpful exmpales for Secure Copy (scp)
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 email@example.com:xyz.txt /your/local/directory
Copy a file named xyz.txt from the local host to a remote host:
$: scp xyz.txt firstname.lastname@example.org:/your/remote/directory
Was this answer helpful?