Jump to content

scp

From RaySoft

scp copies files between hosts on a network.[1]

Documentation

Further information

Configuration

Files

Syntax

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

Parameters

-p
Preserves modification times, access times, and file mode bits from the source file.
-r
Recursively copy entire directories.
NOTE:
scp follows symbolic links encountered in the tree traversal.

References

  1. Project contributors. "scp(1)." OpenSSH project. https://man.openbsd.org/scp (accessed 18.03.2025)