Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #243546

[SOLVED]: [OT] sending command to multiple SSH sessions, like in mRemoteNG

From Marco Möller <talby@debianlists.mobilxpress.net>
Newsgroups linux.debian.user
Subject [SOLVED]: [OT] sending command to multiple SSH sessions, like in mRemoteNG
Date 2021-12-30 22:20 +0100
Message-ID <DAb05-17J-7@gated-at.bofh.it> (permalink)
References <DA48h-5fq-1@gated-at.bofh.it> <DA4rE-5Bj-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 30.12.21 15:13, Celejar wrote:
> On Thu, 30 Dec 2021 14:54:40 +0100
> Marco Möller <talby@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

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[OT] sending command to multiple SSH sessions, like in mRemoteNG Marco Möller <talby@debianlists.mobilxpress.net> - 2021-12-30 15:00 +0100
  Re: [OT] sending command to multiple SSH sessions, like in  mRemoteNG Celejar <celejar@gmail.com> - 2021-12-30 15:20 +0100
    [SOLVED]: [OT] sending command to multiple SSH sessions, like in  mRemoteNG Marco Möller <talby@debianlists.mobilxpress.net> - 2021-12-30 22:20 +0100
  Re: [OT] sending command to multiple SSH sessions, like in  mRemoteNG Charles Curley <charlescurley@charlescurley.com> - 2021-12-30 15:40 +0100
    [SOLVED]: [OT] sending command to multiple SSH sessions, like in  mRemoteNG Marco Möller <talby@debianlists.mobilxpress.net> - 2021-12-30 22:40 +0100
  Re: [OT] sending command to multiple SSH sessions, like in mRemoteNG Anssi Saari <as@sci.fi> - 2021-12-30 16:20 +0100
    Re: [OT] sending command to multiple SSH sessions, like in mRemoteNG Andy Smith <andy@strugglers.net> - 2021-12-30 16:50 +0100
      Re: [OT] sending command to multiple SSH sessions, like in mRemoteNG Nicholas Geovanis <nickgeovanis@gmail.com> - 2021-12-30 17:40 +0100
        [SOLVED]: [OT] sending command to multiple SSH sessions, like in  mRemoteNG Marco Möller <talby@debianlists.mobilxpress.net> - 2021-12-30 22:40 +0100
      Re: [OT] sending command to multiple SSH sessions, like in mRemoteNG Marco Möller <talby@debianlists.mobilxpress.net> - 2021-12-30 18:00 +0100
        Re: [OT] sending command to multiple SSH sessions, like in mRemoteNG Andy Smith <andy@strugglers.net> - 2021-12-30 18:10 +0100
          [SOLVED]: [OT] sending command to multiple SSH sessions, like in  mRemoteNG Marco Möller <talby@debianlists.mobilxpress.net> - 2021-12-30 21:30 +0100

csiph-web