Skip to main content
add referred links
Source Link
αғsнιη
  • 41.9k
  • 17
  • 75
  • 117

I have computers A, B and 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?

UPDATE:

I was able to ssh to C via B as it was explained in the related answers that you suggest me but I was not able to rsync through serverB.

Consider that B is listening for ssh not on port 22.

I have computers A, B and 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?

UPDATE:

I was able to ssh to C via B as it was explained in the related answers that you suggest me but I was not able to rsync through serverB.

Consider that B is listening for ssh not on port 22.

I have computers A, B and 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?

UPDATE:

I was able to ssh to C via B as it was explained in the related answers that you suggest me but I was not able to rsync through serverB.

Consider that B is listening for ssh not on port 22.

Post Reopened by αғsнιη, Kusalananda
added 2 characters in body; edited tags; edited title
Source Link
αғsнιη
  • 41.9k
  • 17
  • 75
  • 117

rsync a file from server CserverC to AserverA through server BserverB

I have computers A, B and 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?

UPDATE:

I was able to ssh to C via B as it was explained in the related answers that you suggest me but I was not able to rsyncrsync through server BserverB.

Consider that B is listening for ssh not on port 22.

rsync a file from server C to A through server B

I have computers A, B and 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?

UPDATE:

I was able to ssh to C via B as it was explained in the related answers that you suggest me but I was not able to rsync through server B.

Consider that B is listening for ssh not on port 22.

rsync a file from serverC to serverA through serverB

I have computers A, B and 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?

UPDATE:

I was able to ssh to C via B as it was explained in the related answers that you suggest me but I was not able to rsync through serverB.

Consider that B is listening for ssh not on port 22.

ssh is ok but not able to rsync via B
Source Link
res1
  • 308
  • 1
  • 3
  • 9

I have computers A, B and 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?

UPDATE:

I was able to ssh to C via B as it was explained in the related answers that you suggest me but I was not able to rsync through server B.

Consider that B is listening for ssh not on port 22.

I have computers A, B and 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?

I have computers A, B and 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?

UPDATE:

I was able to ssh to C via B as it was explained in the related answers that you suggest me but I was not able to rsync through server B.

Consider that B is listening for ssh not on port 22.

added 10 characters in body
Source Link
αғsнιη
  • 41.9k
  • 17
  • 75
  • 117
Loading
Source Link
res1
  • 308
  • 1
  • 3
  • 9
Loading