scp
Verified for current stable LTS
Scp Command: Copy Local File To Remote Host
Use for copy local file to remote host with Scp. Exact CLI syntax to copy local file to remote host using Scp.
When to use this: Use for copy local file to remote host with Scp.
Command Syntax
scp <path/to/local_file> <remote_host>:<path/to/remote_file> scp <path/to/local_file> <remote_host>:<path/to/remote_file> Command Breakdown
scp is the base executable for this command.
FAQ
Purpose: Exact syntax to copy local file to remote host using Scp.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related 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 Command: Copy File From Remote Host To Local Directory scp <remote_host>:<path/to/remote_file> <path/to/local_directory> 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 Command: Copy Local File Using Specific Port scp -P <port> <path/to/local_file> <remote_host>:<path/to/remote_file> Scp Command: Copy Local File Using Specific Proxy scp -J <proxy_username>@<proxy_host> <path/to/local_file> <remote_host>:<path/to/remote_file>