scp
scp copies files between hosts on a network.[1]
- Secure copy protocol [EN] @ Wikipedia
Documentation
- man 1 'scp' [EN]
Further information
- scp Command Examples (23.01.2024) [EN] @ It's FOSS
Configuration
Files
-
/
-
etc/
-
ssh/
- ssh_config, Example: 1
-
ssh/
-
etc/
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
- ↑ Project contributors. "scp(1)." OpenSSH project. https://man.openbsd.org/scp (accessed 18.03.2025)