我正在尝试弄清楚如何向整个集群发出相同的命令。我正在使用并行 ssh,但似乎无法让它正常工作。当我尝试命令时,我得到了:
[1] 22:58:24 [FAILURE] [email protected] Exited with error code 255
[2] 22:58:24 [FAILURE] [email protected] Exited with error code 1
[3] 22:58:24 [FAILURE] [email protected] Exited with error code 1
我查看了错误代码,但不明白发生了什么。
答案1
解决方案是忘记并行 ssh 并改用 cssh: http://www.unixmen.com/how-to-manage-multiple-ssh-sessions-using-cluster-ssh-and-pac-manager/