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


Groups > linux.debian.user > #243548

[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:40 +0100
Message-ID <DAbjs-1e2-11@gated-at.bofh.it> (permalink)
References <DA48h-5fq-1@gated-at.bofh.it> <DA5nH-69A-1@gated-at.bofh.it> <DA5QK-6jw-15@gated-at.bofh.it> <DA6D8-6RN-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 30.12.21 17:38, Nicholas Geovanis wrote:
>     Aside from shell loops, I've also in the past used dsh which is
>     still packaged in Debian:
> 
>     http://www.netfort.gr.jp/~dancer/software/dsh.html
>     <http://www.netfort.gr.jp/~dancer/software/dsh.html>
> 
> 
> Other similar options are pdksh, public domain Korn shell. Which is 
> available in Debian repositories for some releases. And the dsh command 
> on IBM's aix unix-ish OS :-) So with NIM support :-) looking like rsh.
> 
>     …but these days I also switched to using Ansible ad hoc commands and
>     playbooks for anything I do repeatedly. Well worth looking into.
> 
> 
> The same can be said of the salt utility. Supported at cost by Saltstack 
> if necessary. But IMO not the same use-case that the OP intended. One 
> salt contributor some time ago was managing more than 10K servers with 
> it, I only had a few hundred.

I'll keep these tools in mind for some possible future usage. Right now 
they seem to not exactly be what I was searching for, but obviously my 
initial question was lacking a proper description of my aspired usage 
scenario, especially the wish to keep sessions running interactively 
while also sending ad hoc commands simultanously to all these sessions.
Your answer is much appreciated, thanks a lot for it, 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