File Operations
scp
Copies files securely over SSH connections.
Ubuntu
CentOS
Debian
Arch
SUSE
Slackware
Alpine
Fedora
macOS
FreeBSD
NetBSD
OpenBSD
Verified: 2025-09-22
Syntax
$scp [OPTIONS] SOURCE DEST
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 network. Uses SSH.
Export