Securely copy files between hosts on a network, using ssh. Part of the OpenSSH suite of network tools. scp requests a password or passphrase if required. The transfer can be between two remote hosts. If more than one file is specified for file1, file2 should be a directory; otherwise, only the last file in the list is copied. file1 and file2 can be specified in any of the following ways:
Use IPv4 addresses.
Use IPv6 addresses.
Run in batch mode. Don’t ask for passwords or passphrases.
Specify the cipher to be used for encrypting the data.
Enable ssh compression.
Specify the file that contains the identity (private key) for RSA authentication.
Specify an option to pass to ssh.
Preserve modification time, access time, and mode.
Connect to port on the remote host.
Don’t display the progress meter.
Copy directories recursively.
Specify the program to use for the encrypted connection. The program must understand ssh options.