scp

From RaySoft

scp copies files between hosts on a network. It uses ssh for data transfer, and uses the same authentication and provides the same security as ssh. Unlike rcp, scp will ask for passwords or passphrases if they are needed for authentication.[1]

Documentation

Further information

Configuration

Files

Syntax

scp [PARAMETER ...] [[USER@]HOST:]FILE/DIRECTORY [[USER@]HOST:]FILE/DIRECTORY

Parameters

-C
Compression enable. Passes the -C flag to ssh to enable compression.
-p
Preserves modification times, access times, and modes from the original file.
-r
Recursively copy entire directories.
NOTE:
scp follows symbolic links encountered in the tree traversal.

References

  1. man 1 'scp'