一、将下载的pscp.exe拷贝到C:\Windows\System32
上传文件
1 C:\Users\xy>pscp C:\BaiduNetdiskDownload\jdk-8u161-linux-x64.tar.gz root@192.168.64.124:/opt 2 root@192.168.64.124's password: 3 jdk-8u161-linux-x64.tar.g | 185308 kB | 10294.9 kB/s | ETA: 00:00:00 | 100%
下载文件
1 C:\Users\xy>pscp root@192.168.64.124:/opt/sql.txt c:\test 2 root@192.168.64.124's password: 3 sql.txt | 1 kB | 1.0 kB/s | ETA: 00:00:00 | 100%