File management
scp
Safely copies files over SSH connections.
Ubuntu
CentOS
Debian
Arch
SUSE
Slackware
Alpine
Fedora
macOS
FreeBSD
NetBSD
OpenBSD
Verified: 2025-09-22
Syntax
$scp [OPTIONEN] QUELLE ZIEL
Examples
$scp file.txt user@host:/path/
$scp -r dir/ user@host:/path/
Typical use cases
?
Standard usage
scp --help
Note
Secure alternative to `cp` over the network. Uses SSH.
Export