FG
💻 Software

Is it possible to SCP from a remote to local whilst logged into the remote and without knowing the local's IP address?

Fresh5 days ago
Mar 15, 202639232 views
Confidence Score0%
0%

Problem

I regularly find myself wanting to copy a file from remote terminal session to my local machine. Usually I log out of the remote session and call an scp transfer from local to copy the file from remote to local. But this feels a little long winded. I would like to transfer the file whilst logged in…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Is it possible to SCP from a remote to local whilst logged into the remote and without knowing the local's IP address?

Low Risk

You can use SSH tunneling for this. Using tunneling you can forward a TCP port either from your local machine to the remote machine, or from the remote machine to your local machine. I use it frequently to forward e.g. SMTP or IMAP ports from a remo…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment