K
Klaus Boon
Hi,
I used a shell script to automaticly start another
shell script in the background of some remote
hosts (everything is configured so that no password
is needed)
now I ported everything to perl
and get problems. While running this line perl does
start my tasks.sh but also does a real login on the
specified $host's (what i dont want). Thus I have to
exit all the connections by hand. I also tried using
the ssh-params -f and -N together with or without
the & the results get even more weird.
Can anybody tell me how to write this system call
correctly?
TIA Klaus
I used a shell script to automaticly start another
shell script in the background of some remote
hosts (everything is configured so that no password
is needed)
ssh $host tasks.sh &
now I ported everything to perl
system("ssh $host tasks.sh &");
and get problems. While running this line perl does
start my tasks.sh but also does a real login on the
specified $host's (what i dont want). Thus I have to
exit all the connections by hand. I also tried using
the ssh-params -f and -N together with or without
the & the results get even more weird.
Can anybody tell me how to write this system call
correctly?
TIA Klaus