SCP through SSH
Here’s how to run scp to copy from machine A to machine R, with R being accessible only from machine G. A -G-> R Set up SSH tunnel: ssh -L 1234:<address of R known to G>:22 <user at G>@<address of G> Adding “cat -” will keep it running while above will get you connected to G: ssh -L 1234:<address of R known to G>:22 <user at G>@<address of G> cat - Either way you run it, open another terminal for next step....