Intro
scp (secure copy) lets you securely copy files to remote server.
It works similarly to cp command.
It’s based on ssh.
Usage
Here are the the most basic usage.
scp file.txt [email protected]:Desktop/file.txt
scp -r folder [email protected]:Desktop/folderFor more options, read How to Use SCP Command to Securely Transfer Files.