Chocolatey rwSync & closed connection

If, when trying to do a rsync using Chocolatey rwSync through ssh you receive an error of “closed connection” you have to:

  1. Uninstall the windows OpenSSH client (in Windows Optional Features)
  2. 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