pscp 从win10远程传输文件到centos7,多个虚拟机之间传文件


一、将下载的pscp.exe拷贝到C:\Windows\System32

上传文件 win10 ——> linux
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%
下载文件 linux ——> win10
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%

 

Linux scp 命令 实现两台虚拟机之间相互copy
[root@localhost 桌面]# scp /opt/jdk-8u161-linux-x64.tar.gz root@192.168.64.123:/opt The authenticity of host '192.168.64.123 (192.168.64.123)' can't be established. ECDSA key fingerprint is 58:7b:dd:74:39:6f:f3:e0:d3:32:fd:bb:b0:23:0a:e2. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.64.123' (ECDSA) to the list of known hosts. root@192.168.64.123's password: jdk-8u161-linux-x64.tar.gz 100% 181MB 45.2MB/s 00:04

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM