阅读背景:

在我的bash循环中,如果ssh连接到bash脚本退出,则对一些服务器的列表进行循环

来源:互联网 

I have a quick script to run a command on each server using ssh (i am sure there are lots of better ways to do this, but it was intended to just work quick!!). For the test1 etc, there is no server so the script continues, the script also continues if the pubkey auth fails. However if the script connects, the date is printed but the ssh loop terminates...I have a quick script to run a command on each




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: