在远程服务器上执行本地的shell脚本时间:2023-03-09 04:16:03 在远程服务器上执行本地的shell脚本 [root@localhost zzx]# sh echoip.sh 192.168.67.131[root@localhost zzx]# ssh root@192.168.67.129 -C "/bin/bash" < echoip.shroot@192.168.67.129's password: 192.168.67.129[root@localhost zzx]#