scp Verified for current stable LTS

Scp Command: Copy Local File Using Specific Port

Use for copy local file using specific port with Scp. Exact CLI syntax to copy local file using specific port using Scp.

When to use this: Use for copy local file using specific port with Scp.

Command Syntax

scp -P <port> <path/to/local_file> <remote_host>:<path/to/remote_file>

Live Command Builder

Final Command

scp -P <port> <path/to/local_file> <remote_host>:<path/to/remote_file>

Command Breakdown

-P
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to copy local file using specific port 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

Back to Scp directory