Transfer file from remote machine to local machine

Karl Auer kauer at biplane.com.au
Mon Jul 17 10:33:08 UTC 2017


On Mon, 2017-07-17 at 08:36 +0800, Yubin Ruan wrote:
> I cannot access the local machine from either B or  because my local
> machine is behind a NAT. I can access A from B but I don't have write
> permission on A (I don't own A. A is used as a relay, so you cannot
> do much on A).

NAT doesn't matter, and you don't need access to A from B or from
either A or B to your local system. Your connections are outwards -
from your local system to A and then from A to B. That lets you set up
a tunnel, and then you can copy across that tunnel using whatever tools
you like.

My suggestion was a tunnel for port 22 so that you can then use scp to
copy files (you could also use something like rsync).

Regards, K.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer
http://twitter.com/kauer389

GPG fingerprint: A52E F6B9 708B 51C4 85E6 1634 0571 ADF9 3C1C 6A3A
Old fingerprint: E00D 64ED 9C6A 8605 21E0 0ED0 EE64 2BEE CBCB C38B






More information about the ubuntu-users mailing list