I have setup-ed keybased authentication to access all my client machines using ssh. However if i run anyscript in these clients, and suppose if particular hosts is down the terminal hangs in that session and it takes long time to go to the next hosts. Is there any other way to solve this issue? Or is it possible to skip the host which is down so that it should go with the next host? I am using ubuntu 11.04. Can some one help me? Thanks in advance.
Tell me more
×
Ask Ubuntu is a question and answer site for
Ubuntu users and developers. It's 100% free, no registration required.
|
Given your comment, I suggest something like this:
|
|||||
|
|
@queueoverflow's answer is correct, but I thought it was unnecessarily complicated. Maybe this is easier to read?
The |
|||
|
|

