Let’s say we have three machines: A, B and C.
- Machine A can't reach machine B from any network, so I can't send files between both.
- But both A and B can be reached from C (my machine).
Today I have to copy a huge file from A to B.
Currently I would need to copy it first from A to C and then from C to B. Is there a way to connect or pipe the scp to stream the incoming data to the target machine without need to save in the middle?