解决scp远程传输文件时卡顿导致的传输失败问题(scp command stuck when trying to copy local files to remote machine)
解决方案——使用 rsync -avPscp: 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...