Send the same command to all SSH session

Mihamina Rakotomandimby (R12y) mihamina at lab.vectoris.fr
Mon Jan 26 09:07:39 CET 2009


Adam wrote:
> Maybe I still misunderstand. Why would you have identical problems on
> all your hosts?

It's just a fact. Not as repetitive as that, but sometimes, it's saves 
me some time to have the feature. Anyway, we wont debate on this.

> I can see why you may want to shutdown all your hosts or
> run package updates simultaneously, and a script seems like the way to go.

Yes.

>> It's for a debug purpose. It may be tailing logs, checking disk space,
>> displaying table of process, Ctrl-Cing, rebooting,...
> I would do this kind of stuff with a script as well. You would need to
> establish an ssh session to the individual hosts, execute a command

On three or four hosts, that's OK.
On ten, it becomes a bit annoying.

But I got the answer, not possible with the wrapper.
I'll try to manage it another way. ;-)
Thanks.

-- 
Chef de projet chez Vectoris
http://www.google.com/search?q=mihamina+rakotomandimby



More information about the Xfce mailing list