Secure Copy or SCP is a method of securely transferring computer files between a local and a remote host or between two remote hosts , using the SSH protocol . Secure Copy or SCP is a means of securely transferring computer files between a local and a remote host or between two remote hosts . It is based on the Secure Shell ( SSH ) protocol .