FG

Scp over a proxy with one command from local machine?

Fresh3 days ago
Mar 15, 2026132514 views
Confidence Score1%
1%

Problem

I have my local.machine, the proxy.machine and target.machine. local.machine doesn't have direct contact with target.machine, but needs to go through proxy.machine. I want to scp a file from target.machine to local.machine. Is this possible to do with just one command from local.machine?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Scp over a proxy with one command from local machine?

Low Risk

You can do this with ProxyJump. put this in your file (creating the file if it does not exist): After saving the file, you can just use any time you want to connect. Scp also will work as it also respects the ssh config file. So will Nautilus, if you're using GNOME and want to use a GUI. Old Answer (for older versions of OpenSSH)

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment