Originally published at: SCP Linux - Securely Copy Files Using SCP examples
This post includes SCP examples. SCP or secure copy allows the secure transferring of files between a local host and a remote host or between two remote hosts. It uses the same authentication and security as the Secure Shell (SSH) protocol from which it is based. SCP is loved for its simplicity, security, and pre-installed…
Another example is using a different cipher for transfers:
scp -c aes256-ctr user@source_host:/path/to/file /local/target/directory/
This command using “-c” (lowercase) specifies a different cipher (aes256-ctr
) for the data transfer, affecting speed and security.