scp Verified for current stable LTS

Scp Command: Copy File Between Two Remote Hosts Via Local Host

Use for copy file between two remote hosts via local host with Scp. Exact CLI syntax to copy file between two remote hosts via local host using Scp.

When to use this: Use for copy file between two remote hosts via local host with Scp.

Command Syntax

scp -3 <host1>:<path/to/remote_file> <host2>:<path/to/remote_directory>

Command Breakdown

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

FAQ

Purpose: Exact syntax to copy file between two remote hosts via local 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

Back to Scp directory