Sometimes you want copy something over the network, but don't need all features of something like rsync.
Here, we use scp to copy a file from a remote host to our local machine:
scp <username>@<host>:/path/to/file /path/to/dest
scp uses ssh, and so allows the user to specify port and other options (almost) like ssh does. To set port for instance, add -P port_num
.
No Comments Yet!