shell 远程调用脚本

远程执行对方机器上的脚本
ssh root@192.168.31.210 "sh /home/system.sh"

本地脚本放送到远程机器上执行
ssh root@192.168.31.210 <system.sh
原文地址:https://www.cnblogs.com/liweiming/p/11346278.html