The SCP stands for secure cp (copy), which means you can copy files across Secure Shell connection. That connection will be securely encrypted, it is a very secure way to copy files between computers. The SCP will be used by the default port number 22  and can be connected via an encrypted connection or secure shell connection (ssh for short). The SCP can be used to copy files from or to a remote server. We can also copy files from one remote server to another remote server, without passing the traffic through your PC. We can copy files over Secure Shell using command SCP, stands for ‘Secure CopY’. SCP copies file using SSH and they are very secure in functioning.

Command:

scp text_file_to_be_copiedYour_username@Remote_Host_server:/Path/To/Remote/Directory