原因:这样相当于下载文件夹,而非文件解决办法:添加参数 -r 1scp -r D:\testFile root@192.168.0.129:~ 原文链接 https://blog.csdn.net/dafei4/article/details/79494324