How to transfer files over SSH using SCP. SCP also known as Secure copy protocol. SCP is known for securely transferring computer files between a local host and a remote host or between two remote hosts. It is based on the Secure Shell (SSH) protocol.