rsync工具报错


今天使用rsync工具实现远程同步,报错了,记得以前也出现过这样的情况,居然忘记怎么解决了,查了一下资料,在这里做个记录,以免下次又忘记还要到处找解决方法:

[root@xin-m src]# rsync -avzP [email protected]:/usr/local/src/ .


rsync: Failed to exec ssh: No such file or directory (2)

rsync error: error in IPC code (code 14) at pipe.c(84) [receiver=3.0.6]

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

rsync error: error in rsync protocol data stream (code 12) at io.c(600) [receiver=3.0.6]

解决方法如下:

yum install openssh-clients


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