Greetings,
I would appreciate any help/guidance in constructing an effective for loop with the ability to ssh into multiple devices and run specific commands on them. Since I am very new to bash scripting, other sites and the way that they are explaining things are getting kind of confusing. Hopefully someone can alleviate some of my confusion. So I have close to 100 machines (many of which are TinkerBoards but some that aren’t) that I need to be able to ssh into and then perform specific commands on. Right now I am a bit lost on where to start. The hostnames are conveniently coined “termX” where X represents a number from 1 to 100. As I stated above, not every terminal is a Tinkerboard so is this going to mess up the loop in some way? Help is appreciated.