scp transmits data across servers

1: The system generates a 500M file

 dd if=/dev/zero of=500M.file bs=1M count=500

2: The scpco service transmits this file (can be used to test the speed of the intranet)

scp root@192.168.3.157:/aaa/500M.file /tmp/

My host is 192.168.3.189

root username

192.168.3.157 Download this file from the target host and add the file location of this host

/ tmp / Download the file to the 192.168.3.189/tmp/ directory

Guess you like

Origin www.cnblogs.com/s6-b/p/12720948.html