Executing commands on multiple hosts
If you have to execute the same command in multiple hosts, then you can use mussh:
- Description : Mussh is a shell script that allows you to execute a command or script
- over ssh on multiple hosts with one command. When possible mussh will use
- ssh-agent and RSA/DSA keys to minimize the need to enter your password
- more than once.
First install mussh with the following command
dnf install mussh
Now to run this for multiple hosts, you can run like this
Continue reading