Welcome to the Linux Foundation Forum!

rsync error

Hi guys,

I have this situation, 2 servers (local and remote).

I have rsync installed on local server only. I'm trying to copy some files using this article


but I got this error

bash: rsync: command not found

rsync: connection unexpectedly closed (0 bytes received so far) [receiver]

rsync error: remote command not found (code 127) at io.c(463) [receiver=2.6.8]

Any ideas?



  • mfillpot
    mfillpot Posts: 2,177
    it looks like rsync could not find the ssh command on the remote machine, I recommend changing the ssh portion of the command to reference the absolute location such as /usr/bin/ssh.
  • ben
    ben Posts: 134
    I'm glad you've solved your problems, it was quite a joke to write that blog, when it happens again just drop me a note and I'll help you if possible.
    Also take a look to other blogs related to rsync and you'll find even something more.



Upcoming Training