How do I rsync from a remote Windows machine to a local Linux machine?

How do I rsync from a remote Windows machine to a local Linux machine?

E.g., I want to copy a directory on the Windows machine on my local Linux machine, initiating the operation from the Linux machine. Both machines are on a local network.

I need to somehow:

  1. Enable SSH on the Windows machine.
  2. Enable rsync on it.

I found some questions about using rsync from a local Windows machine, but not when the Windows machine is acting as the server.