在远程服务器上执行本地的shell脚本


[root@localhost zzx]# sh echoip.sh
192.168.67.131
[root@localhost zzx]# ssh root@192.168.67.129 -C "/bin/bash" < echoip.sh
root@192.168.67.129's password:
192.168.67.129
[root@localhost zzx]#

相关文章:

  • 2022-12-23
  • 2021-09-22
  • 2022-12-23
  • 2021-11-26
  • 2022-12-23
  • 2022-12-23
  • 2021-08-19
  • 2022-02-15
猜你喜欢
  • 2020-04-10
  • 2021-07-21
  • 2022-12-23
  • 2021-05-16
  • 2021-05-16
  • 2022-12-23
  • 2021-10-19
相关资源
相似解决方案