I failed to rsync files from one Centos 6 server to another Centos 6 server. The rsync is not working and i get this error
[root@angrybird tmp]# rsync -v -e ssh /tmp/web root@172.16.0.204:/home/
rsync: Failed to exec ssh: No such file or directory (2)
rsync error: error in IPC code (code 14) at pipe.c(84) [sender=3.0.6]
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.6]
To troubleshoot this issue, i try to do run ssh command in both Centos 6 machine. It fail to run the SSH. I found that openssh-clients was not installed. So, i just installed openssh-clients to fix the problem.
To install openssh-client
# yum -y install openssh-clients
Done!!
