网文1:http://blog.csdn.net/muou2008/article/details/8252223
网文2:http://blog.csdn.net/god2469/article/details/9207487
putty下载:https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
pscp 指定端口时,例如端口是8888,-P指定端口号
pscp -P 8888 a.txt root@192.168.1.110:/usr/local
从Windows向Linux传文件:
pscp windows中源文件路径 root@hostip:linux中目的路径
从Linux向windows传文件:
在windows的cmd中输入 pscp root@hostIp: linux中源文件路径 windows中目的路径
如: pscp root@192.168.0.100:/home/aaa.jpg G:/putty/
注意:使用pscp只能传文件,无法传目录,要传目录的话可以用psftp