Re:Cluster SSH – Manage Multiple Linux Servers Simultaneously
by reacweb on Tuesday October 29, 2019 @12:34PM
(#21389058)
<list_of_hosts xargs -I {} -P 0 -n 1 ssh {} hostname
Re:Cluster SSH – Manage Multiple Linux Servers Simultaneously
by downerending on Tuesday October 29, 2019 @12:59PM
(#21389374)
Here's a more polished version of just this idea: https://github.com/michaelkarlcoleman/ssssh
ansible ad-hoc commands do almost exactly what you do but in a more scalable fashion
https://docs.ansible.com/ansible/latest/user_guide/intro_adh...