Post

A little tool I've been noodling on for... er, a year and a half, is finally stable enough to use daily: meet `bdsh`, a `dsh`-alike designed for me. It may also suit others which is why I am sharing :-)

1 repost2 likes

Looks interesting, but a couple of ideas come to mind. One would be to enable sending commands to all hosts while in interactive mode (that's usually how I've used cluster shells in the past) and the other is to allow per host log files which could be handy for collecting compliance data.

I like the broadcast interaction idea! Per host logs are already there. It sets up a directory per host, generates a script which actually executes things, and captures output and run metadata in it. You can specify to keep that stuff when it finishes, instead of the default delete-on-completion

I've found the broadcast especially useful when exploring hosts looking for differences. Switching to host specific when a host gets different results and back for the next steps.