Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #243539
| From | Nicholas Geovanis <nickgeovanis@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: [OT] sending command to multiple SSH sessions, like in mRemoteNG |
| Date | 2021-12-30 17:40 +0100 |
| Message-ID | <DA6D8-6RN-1@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> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Thu, Dec 30, 2021, 9:42 AM Andy Smith <andy@strugglers.net> wrote: > Hello, > > On Thu, Dec 30, 2021 at 05:15:18PM +0200, Anssi Saari wrote: > > Marco Möller <talby@debianlists.mobilxpress.net> writes: > > > 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? > > > > I do simple stuff with just a for loop in the shell. For more complex > > stuff I use Ansible which uses ssh internally. > > 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 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. > Cheers, > Andy > >
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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