Hey, it’s not uncommon for me to have to execute a quick command against a set of machines. Naturally, the easiest way of performing that against a single machine is using ssh: readonlyprivate_key='./key.rsa'readonlycommand='echo test'readonlyip='10.0.0.2'readonlyuser='ubuntu'readonlyport='22'echo"$command"| ssh \ -i ${private_key}\ -p ${port}\ ${user}:${ip} Having the command properly wrapped in terms of variables now it’s just a matter making it a method, looping through a list of machi...