运行 sshuttle 后 adb 停止工作

adb stops working after running sshuttle

我最近买了一台 MacBook 并从 Ubuntu 迁移到 macOS。当我 运行 在我的 mac 中穿梭并开始 ssh 隧道时,惊喜发生了。在 Ubuntu 中,我的 adb 继续完美运行,但在 macOS 中,adb 停止工作并出现错误 error: protocol fault (couldn't read status): Undefined error: 0.

就我而言,问题出在 sshuttle 上。 sshuttle 还自动转发本地主机请求,因此与 adb 的连接丢失。 我克隆了 repo 并返回 ef83a5c 并再次构建程序。 this bug was found approximately two weeks ago partially fixed once现在又在开发中了。

git clone https://github.com/sshuttle/sshuttle.git
git checkout ef83a5c
sudo ./setup.py install