How to run shell script on all remote client from server machine simulataneously
Hi all,
I had enabled ssh passwordless login in all my remote client from server .I want to execute a script from my server which simulatneoulsy execute the on all client machine simulataneously.
These the script i want to excute on client machine to find out the tomcat running instant &change password on client macchine
#!/bin/bash
ps uax | grep "tomcat"
echo "newpassword:root passwd" --stdin
Last edited by LittleMaster; 10-09-2012 at 01:59 AM.
|