Answer the question
In order to leave comments, you need to log in
Copying files through an intermediate server?
There are three machines, all running freebsd. #1 and #3 have no connection between themselves, but there is a connection through #2 (networks are different). How to copy a very large amount of data from #1 machine to #3 using #2? The data is measured in TB, so leaving it intermediate at #2 is a bad option.
I tried to do it through mc to #2, on the left side of which there is a connection to #1, and on the right side to #3. But after a number of files, mc constantly gives the error "No space left on device (28)", implying #3, but this is of course not true.
What other ways are there?
Answer the question
In order to leave comments, you need to log in
I would try scp, but I don't think it would be much different than your mc copy.
In any case, you can always do ssh tunneling.
Try to temporarily set the route so that #1 sees #3 and copy via ftp or scp, as suggested above.
Through ssh, you can try this, for example:
[email protected]:~$ tar -cv files/ | ssh [email protected] "ssh [email protected] 'tar -xv' "
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question