Secure Copy over SSH
As the name implies, SCP stands for SecureCopy and is a Linux command for copying files to and from different hosts. It does this by using the SSH protocol ensuring encryption on both filenames and the password. Unlike other protocols like FTP , the filenames or the password is not visible in case someone is snooping the network making SCP a very secure and powerful tool. By default, the SSH port is 22 therefore SCP will be using port 22. When copying files to/from another host, the account’s password will be required.
scp username1@source_host:folder1/filename1 username2@destination_host:folder2/filename2
scp... read more +