Is it possible to use rsync over sftp (without an ssh shell)?

Unfortunately not directly. rsync requires a clean link with a shell that will allow it to start the remote copy of rsync, when run this way. If you have some way of running long-lived listening processes on the host you could try starting rsync manually listening for connections on a non-privileged port, but most techniques … Read more

protocol version mismatch — is your shell clean?

One of your login scripts (.bashrc/.cshrc/etc.) is probably outputting data to the terminal (when it shouldn’t be). This is causing ssh to error when it is connecting and getting ready to copy as it starts receiving extra data it doesn’t expect. Remove output that is generated in the startup scripts. You can check if your … Read more

How to keep rsync from chown’ing transferred files?

You are probably running rsync like this: rsync -a dir/ remote:/dir/ The -a option according to the documentation is equivalent to: -rlptgoD -a, –archive archive mode; equals -rlptgoD (no -H,-A,-X) You probably want to remove the -o and -g options: -o, –owner preserve owner (super-user only) -g, –group preserve group So instead your rsync command … Read more

Why hasn’t rsync caught on in the Windows world? [closed]

I would say mostly because people in windows are unaware of it. Rsync is a command-line utility that is consistent with the unix philosophy of having lots of small tools preinstalled. The windows philosophy is based around GUI applications that are all downloaded and installed separately. There is not a smooth integration spot where rsync … Read more

How to use rsync over FTP

You don’t. rsync can’t do that for you, it is a protocol of its own and doesn’t work over FTP. You might, however, want to try csync. IIRC it provides rsync-like behaviour over HTTP. I can’t comment on whether it works over FTP, you’ll have to try it.