Windows和linux通过命令互传文件
时间:2019-03-27 18:24:58
收藏:0
阅读:514
下载pscp
https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
放在Windows的c:windows/system32下
pscp.exe -l root -pw "KJdsnhjg" -r "c:\test0327.txt" root@10.132.131.51:/usr/local/source/dist
解释:
将Windows中的c:\test0327.txt文件,传输到10.132.131.51:/usr/local/source/dist路径下,-l 指定用户名,-pw 指定linux的密码
原文:https://www.cnblogs.com/gcgc/p/10609504.html
评论(0)