从服务器 A 到服务器 B(以及大约 500 台其他服务器)设置了无声 ssh 我在服务器 A(shell 和 perl)上编写了一个脚本,我想通过服务器 B(和其他 500 台服务器)上的 ssh 执行该脚本。这可能吗 ?我能够使用静默 ssh 运行命令,但不确定如何运行整个脚本。
ssh bash
bash ×1
ssh ×1