rsync: Failed to exec ssh的解决方法

in linux with 0 comment

领导叫帮忙处理一个同步问题,还是同行叫帮忙的,叫我帮忙处理一下。以下是转载:http://www.wanvps.com/rsync-failed-to-exec-ssh.html

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,一试果断OK了!

Responses