trzsz-ssh
trzsz-ssh copied to clipboard
引入兼容 Warp 的软链接后,影响了 rsync 的运行
创建软链接
sudo ln -sv $(which tssh) /usr/local/bin/ssh
使用 rsync
连接服务器进行文件传输后,报错
protocol version mismatch -- is your shell clean?
(see the rsync man page for an explanation)
rsync error: protocol incompatibility (code 2) at /AppleInternal/Library/BuildRoots/ce725a5f-c761-11ee-a4ec-b6ef2fd8d87b/Library/Caches/com.apple.xbs/Sources/rsync/rsync/compat.c(61) [receiver=2.6.9]
删除软链文件即恢复正常