Remix.run Logo
lynx97 3 months ago

rsync is no SSH tool. I get how that sentence emerged, but it is still a turn off, mixing up terminology like that for convenience.

bradly 3 months ago | parent | next [-]

rsync uses ssh for remote communication.

lynx97 3 months ago | parent [-]

I am sure you know this, but rsync works perfectly fine without ssh. In fact, it has its own custom protocol for remote communcation. It can use ssh to talk to remote machines, but so can any tool via the plain pipe mechanism. Followin that logic, every Linux CLI tool that does stdio is an ssh tool...

bradly 3 months ago | parent [-]

> It can use ssh to talk to remote machines, but so can any tool via the plain pipe mechanism. Followin that logic, every Linux CLI tool that does stdio is an ssh tool...

Not any others have this callout, though, from the rsync man page:

> For remote transfers, a modern rsync uses ssh for its communications, but it may have been configured to use a different remote shell by default, such as rsh or remsh.

Y_Y 3 months ago | parent | prev [-]

In my experience, any time you're using scp, you'd be better off with rsync.