To copy a file from a machine behind a firewall, there is no need to recursively scp your files between them. It's much easier to create an ssh tunnel using the firewall as a middle man.
On the local machine, issue:
ssh -L 2222:internal-host.local:22 user@remote
Then use scp like so:
scp -P 2222 user@localhost:/path/to/file /path/to/save/
| < Prev | Next > |
|---|


