-
# yum install rsync
-
# rsync /tmp/test.txt 172.16.100.16:/tmp
-
错误信息:
-
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]
-
-
原因:
-
客户端172.16.100.15未安装openssh-clients程序
-
# yum install openssh-clients -y
-
# rsync /tmp/test.txt 172.16.100.16:/tmp
-
错误信息:
-
bash: rsync: command not found
-
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]
-
原因:
-
服务器端172.16.100.16未安装rsync程序
-
# yum install rsync -y
# rsync /tmp/test.txt 172.16.100.16:/tmp 输入密码后正常!