Scp over a proxy with one command from local machine?
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
Fix for: Scp over a proxy with one command from local machine?
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