Skip to main content
1 of 5
res1
  • 308
  • 1
  • 3
  • 9

rsync file one pc to another via a middle pc

I have computers A,B,C every one of them has ssh enabled and I can use rsync.

A can ssh to B B can ssh to C A can't ssh to C

B has public ssh access so A can connect. B and C can communicate because they are in a vpn and A is not part of it.

I would like to copy some files (and create a cronjob for this) from C to A.

What is a good way to do this?

Thanks

res1
  • 308
  • 1
  • 3
  • 9