rsync 安全复制使用程序

 

CentOS最小化安装后,直接在客户端主机172.16.100.15上安装rsync程序,而服务端172.16.100.16未安装任何东西

1
2
3
4
5
6
# 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]<br><br>原因:<br>客户端172.16.100.15未安装openssh-clients程序<br># yum install openssh-clients -y<br># rsync /tmp/test.txt 172.16.100.16:/tmp<br>错误信息:<br>bash: rsync: command not found<br>rsync: connection unexpectedly closed (0 bytes received so far) [sender]<br><em id="__mceDel" style="font-size: 13px; font-family: verdana, Arial, Helvetica, sans-serif; line-height: 1.5"><em id="__mceDel"><em id="__mceDel">rsync error: error in rsync protocol data stream (code 12) at io.c(600) [sender=3.0.6]</em></em></em>原因:<br>服务器端172.16.100.16未安装rsync程序<br># yum install rsync -y

  

 

posted @   caduke  阅读(331)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示