I was in this position where my host has access to access to host A and host B but host A cannot access host B
I need to copy data between A and B, the first thing i tried was to copy from A to myhost and from myhost to B
stupid! time wasting! yes...
Then with Eero heino my colleague we did this
ssh A "tar cf - /path/to//file"|ssh B "tar xf - -C /path/to/dest/"
It works!
Recent comments
5 weeks 3 days ago
9 weeks 3 days ago
11 weeks 5 days ago
12 weeks 2 days ago
20 weeks 4 days ago
2 years 9 weeks ago
2 years 9 weeks ago
2 years 9 weeks ago
2 years 22 weeks ago
3 years 29 weeks ago