我尝试通过 ssh 上的 rsync 备份 esxi。我运行 rsyc 但出现错误:
# rsync -e ssh -av root@ip.esxi:file.txt .
sh: rsync: not found
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(635) [receiver=3.0.3]
Run Code Online (Sandbox Code Playgroud)
如果我使用 ssh/scp 连接,一切都很好。