全球主机交流论坛
标题:
请教下内网和外部vps rsync 同步问题
[打印本页]
作者:
haores
时间:
2017-11-13 21:14
标题:
请教下内网和外部vps rsync 同步问题
2台vps上面的文件想同步,我建立了中间的n2n v2,现在2个也都能ping通,但是rsync不能用
64 bytes from 10.0.0.11: icmp_seq=7 ttl=64 time=417 ms
64 bytes from 10.0.0.11: icmp_seq=8 ttl=64 time=410 ms
64 bytes from 10.0.0.11: icmp_seq=9 ttl=64 time=413 ms
^C
--- 10.0.0.11 ping statistics ---
9 packets transmitted, 8 received, 11% packet loss, time 8986ms
rtt min/avg/max/mdev = 408.624/481.040/816.592/135.398 ms
[root@vm-centos ~]# ./rs.sh
rsync: failed to connect to 10.0.0.11: No route to host (113)
rsync error: error in socket IO (code 10) at clientserver.c(124) [receiver=3.0.6]
复制代码
rsync 不能通过建立的n2n 访问另外一台,是我搞错了,还有其他方法能实现吗?
作者:
janfou
时间:
2017-11-13 21:20
只看到延迟400+,dalao,这还怎么整呀,累呀
作者:
墨迹
时间:
2017-11-13 22:21
rsync走的是ssh连接,你10.0.0.11的机器ssh端口是默认的22吗,如果不是你要加上端口参数
欢迎光临 全球主机交流论坛 (https://loc.mjj8.eu.org/)
Powered by Discuz! X3.4