在使用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

我去還真可以了,這臺坑爹了,系統坑爹網絡上的也坑爹。


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章