If, when trying to do a rsync using Chocolatey rwSync through ssh you receive an error of “closed connection” you have to:
- Uninstall the windows OpenSSH client (in Windows Optional Features)
- Add the folder C:\ProgramData\chocolatey\lib\rsync\tools\bin to your path
You can check if the version is correct by doing an ssh -v localhost