Securely copy files to Linux across a network

Use scp to copy files securely from one linux computer to another over a network.
$ scp -r /folder/folder1 <enter>

/folder/folder1 is the source folder
-r is for recursively copy is the destination computer. This can also be an IP address
/home/user/folder is the destination folder.

Once you type above command, you will be asked to enter the password of the Enter it, and your files will start getting copied over the network.