在使用rsync时候出现rsync: Failed to exec ssh解决方法

上了一个精简的centos vps,装个rsync发现问题很大同步的时候提示下面错误

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 IPC code (code 14) at io.c(600) [sender=3.0.6]

更坑爹的是在网上找到的资料基本是废话 或者没人给出解决方案

后在一个国外网站上找到解决方法:

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 IPC code (code 14) at io.c(600) [sender=3.0.6]

i got the solution thanks for helping
i had to install openssh-clients
for rsync to work

于是安装了openssh-clients

我去还真可以了,这台坑爹了,系统坑爹网络上的也坑爹。


你可能感兴趣的:(rsync)