解决方案——使用 rsync -avP scp: ssh copyrsync -avP: continue downloading even if the process has been interrupted. 将原命令 $ scp /path/to/local/file ip@localhost:/path/to/remote/file 替换为 $ rsync -avP /path/to/local/file ip@localhost:/path/to/remote/file