为什么 rsync 在一台计算机上可以完美工作,而在另一台计算机上却不能,而 ssh 对两台计算机都有效

发布于 2025-01-15 11:43:27 字数 1549 浏览 6 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

落叶缤纷 2025-01-22 11:43:27

我发现问题了!较旧的 Mac OS X 版本也有我使用的服务器版本。当我将computer2克隆为computer3时,我错过了“设置/网络”中设置以太网IP地址的一处。我将两台计算机设置为相同的静态 IP 地址 10.0.1.5。当通过 IP 号码查找时,它们是不同的,因为我已将副本从 10.0.1.7 更改为 10.0.1.5,但是在原始版本中,我将对另一台计算机的引用保留为 10.0.1.5。因此,当我使用 Xanadu.local 的本地网络名称时,它只是指向自身。在另一台计算机 (computer1) 上,它分别具有适用于其他计算机的正确 10.0.1.5 和 10.0.1.7。在computer2上使它们正确解决了问题!

有时,必须通过它向其他人解释你所看到的内容有助于确定问题,因为你必须清楚地解释它。感谢您的论坛。

I found the problem! The older Mac OS X versions also had a Server version, which I use. When I cloned the computer2 to become computer3, I missed one place where the Ethernet IP address is set in Settings/Network. I had both computers set to the same static IP address of 10.0.1.5. When the lookup was by ip number, they were different as I had changed the copy to 10.0.1.5 from 10.0.1.7, however on the original, I left the reference to the other computer as 10.0.1.5. Thus when I used the local network name of Xanadu.local, it simply pointed back to itself. From the other computer (computer1), it had the correct 10.0.1.5 and 10.0.1.7 for the other computers respectively. Making them correct on computer2 cleared up the problem!

Sometimes, having to go through it to explain what you see to others helps pin down the problem because you have to clearly explain it. Thanks for the forum.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文