scp
Verified for current stable LTS
Scp Commands
Scp command syntax with verified terminal examples.
Commands
8 commands for Scp
scp Operations
Scp Command: Copy File Between Two Remote Hosts Via Local Host
scp -3 <host1>:<path/to/remote_file> <host2>:<path/to/remote_directory> scp Operations
Scp Command: Copy File From Remote Host To Local Directory
scp <remote_host>:<path/to/remote_file> <path/to/local_directory> scp Operations
Scp Command: Copy Local File To Remote Host
scp <path/to/local_file> <remote_host>:<path/to/remote_file> scp Operations
Scp Command: Copy Local File To Remote Host Using Specific Username
scp <path/to/local_file> <remote_username>@<remote_host>:<path/to/remote_directory> scp Operations
Scp Command: Copy Local File Using Specific Port
scp -P <port> <path/to/local_file> <remote_host>:<path/to/remote_file> scp HTTP
Scp Command: Copy Local File Using Specific Proxy
scp -J <proxy_username>@<proxy_host> <path/to/local_file> <remote_host>:<path/to/remote_file> scp Operations
Scp Command: Copy Local File Using Specific Ssh Private Key
scp -i <~/.ssh/private_key> <path/to/local_file> <remote_host>:<path/to/remote_file> scp Operations
Scp Command: Recursively Copy Directory From Remote Host To Local Directory
scp -r <remote_host>:<path/to/remote_directory> <path/to/local_directory> Suggest a Scp Command
Submit missing workflows, corrections, or verified alternatives for this tool.
FAQ
Coverage: Focused examples for common Scp workflows.
Verified version: current stable LTS.
Verification: Test commands in a disposable workspace and submit notes for edge cases.