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 |
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步