1

Local script to trigger multiple remote scripts

view story
linux-howto

http://www.unix.com – Hi All, I am facing problem running a script which triggers another script in multiple remote servers. my script in my local server looks like below Code: ssh server1 "sudo -u uname /usr/local/script/start.sh &2>&1 >/dev/null " ssh server2 "sudo -u uname /usr/local/script/start.sh &2>&1 >/dev/null " ssh server3 "sudo -u uname /usr/local/script/start.sh &2>&1 >/dev/null " When I run this script, it ssh's to server1 and execute start.sh on server1, but control never come back to command prompt until I kill the process (HowTos)