Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 1
    serverfault.com/questions/411552/rsync-remote-to-remote Commented Mar 9, 2016 at 17:11
  • 2
    Actually you can rsync between 2 remote hosts by leveraging sshfs on a 3rd host. Just use sshfs to mount host1 and host2 on host 3. Then rsync between 1 and 2. Commented Oct 19, 2017 at 18:07
  • 2
    @WilliamLegg the disadvantage with using sshfs is that then rsync sees the source and destination filesystems both as local, so it disables its delta algorithm. At that point you almost might as well just use cp -p. See the answer that proposes this and its subsequent comments. Commented Feb 9, 2018 at 8:59
  • you can use that "incantation" with a recent version of scp: scp -3 A:file C:file superuser.com/a/401245/264813 Commented Aug 25, 2023 at 12:19