title: What's the syntax and prerequisite for --password-file option in rsync?
body: <p>I want to store --password-file option that comes with rsync. I don't want to use ssh public_private key encryption. I have tried this command:</p>
  
  <pre><code>rsync -avz --progress --password-file=pass.txt source destination
  </code></pre>
  
  <p>This says:</p>
  
  <pre><code>The --password-file option may only be used when accessing an rsync daemon.
  </code></pre>
  
  <p>So, I tried using:</p>
  
  <pre><code>rsync -avz --progress --password-file=pass.txt source destination rsyncd --daemon
  </code></pre>
  
  <p>But this return various errors like unknown options. Is my sytanx correct? How do I setup rsync daemon in my Debian machine.</p>