How can I automate running commands remotely over SSH to multiple servers in parallel?
I've searched around a bit for similar questions, but other than running one command or perhaps a few command with items such as: ssh user@host -t sudo su - However, what if I essentially need to run a script on (let's say) 15 servers at once. Is this doable in bash? In a perfect world I need to avoid installing applications if at all possible to pull this off. For argument's sake, let's just say that I need to do the following across 10 hosts: Deploy a new Tomcat container Deploy an application in the container, and configure it Configure an Apache vhost Reload Apache I have a script that