Remix.run Logo
lynx97 5 days 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 5 days ago | parent | next [-]

rsync uses ssh for remote communication.

lynx97 4 days 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 days 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 4 days ago | parent | prev [-]

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