一、将下载的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

 

相关文章:

  • 2021-12-26
  • 2021-07-10
  • 2021-10-29
  • 2022-12-23
  • 2022-12-23
  • 2021-12-01
  • 2021-11-21
猜你喜欢
  • 2022-12-23
  • 2021-11-07
  • 2021-10-07
  • 2022-02-08
  • 2021-05-02
  • 2021-12-29
  • 2021-11-01
相关资源
相似解决方案