On 30.12.21 15:13, Celejar wrote:
On Thu, 30 Dec 2021 14:54:40 +0100
Marco Möller <ta...@debianlists.mobilxpress.net> wrote:


In search for a software recommendation:
The remote session management app "mRemoteNG" for MS Windows comes with
a functionality by which a command can be entered to its "Multi SSH"
input field, and this command is then sent to all SSH connected remote
systems at once as if the command would have been typed in at each
single of the SSH connected remote systems CLI individually.
Do you know about such feature to be implemented in some Linux tool?
Maybe it even exists as a plugin for tmux?

I'm not sure about tools that send commands to multiple hosts already
connected over SSH, but there are some that are designed to execute the
same command on multiple hosts by initiating SSH connections to them,
such as pssh and clusterssh:

https://code.google.com/archive/p/parallel-ssh/
https://linux.die.net/man/1/pssh

https://github.com/duncs/clusterssh

https://unix.stackexchange.com/questions/505159/how-to-run-the-same-command-on-multiple-servers
https://www.tecmint.com/run-commands-on-multiple-linux-servers/
https://unix.stackexchange.com/questions/19008/automatically-run-commands-over-ssh-on-many-servers

Celejar


Many great suggestions! It took me some time to follow all suggested links. Spontaneously it appears to me that clusterssh would best fit my special needs, and this tool would compete with the tmux functionality to synchronize panes when needed, as mentioned in one of the linked threads and then also suggested by Andy. I will test both options.
Thanks a lot for your great help, and best wishes,
Marco

Reply via email to