LandryBean 2020-01-23
form server1 to server2
//从当前的192.168.1.101 服务器执行命令, push 到 192.168.1.102
scp -r /opt/software :/opt/software
//从当前的192.168.1.103 服务器执行命令, 192.168.1.101 pull 到 192.168.1.103
scp -r /opt/software :/opt/software /opt/software
//从当前的192.168.1.103 服务器执行命令,让 192.168.1.101 数据 copy 到 192.168.1.104
scp -r /opt/software :/opt/software /opt/software