What is SCP, and how do I use it?

SCP stands for “Secure Copy.” It is similar to SFTP. It is used to copy files from one computer to another. SCP comes installed with Linux and with Mac OS X. You can install SCP on Windows using PuTTY.

To use SCP, use scp <source-file> <destination-directory>. You can copy directories recursively with the -r flag.