What is Secure Copy Protocol (SCP)?
SCP is a protocol built on the Secure Shell (SSH) infrastructure. It allows its users to transfer/copy files from a system to a remote location securely. SCP is primarily used within command line interfaces however there are products available where it can be used on systems running a GUI – keep in mind that these clients quite often change the protocol and do not use SCP natively.
As SCP uses SSH infrastructure as its base, it uses the same mechanism to provide authenticity and confidentiality of the data in transit.
SCP begins by opening an SSH connection to the remote destination. Once this is established, an SCP connection is then stood up between the hosts. Once this is established files are exchanged and the connection is pulled down and terminated.