title: Why do I get this error while running rsync?
body: <p>I'm trying to transfer my file from localhost to server using <strong>rsync</strong>. But this is what happens </p>
  
  <pre><code>abc@abc_def:~$ rsync -v -e ssh textfile.txt
  abc@123.45.67.890:/home/test
  ssh: connect to host 123.45.67.890 port 22: Connection timed out
  rsync: connection unexpectedly closed (0 bytes received so far) [sender]
  rsync error: unexplained error (code 255) at io.c(226) [sender=3.1.0]
  abc@abc_def:~$
  </code></pre>