相关疑难解决方法(0)

Rsync 似乎与 .bashrc 不兼容(导致“你的外壳干净吗?”)

事实证明 rsync 无法与具有 .bashrc 文件的远程服务器一起使用?

在本地客户端运行 rsync 时得到:

protocol version mismatch -- is your shell clean?
(see the rsync man page for an explanation)
rsync error: protocol incompatibility (code 2) at compat.c(180) [sender=3.0.7]
Run Code Online (Sandbox Code Playgroud)

正如这里建议的那样删除服务器上的 .bashrc 解决了这个问题。如何在不删除 .bashrc 文件(临时)的情况下解决它?

bash rsync

23
推荐指数
4
解决办法
4万
查看次数

标签 统计

bash ×1

rsync ×1