how to execute command on remote machine
am 21.09.2005 06:40:22 von Jianli Shen
Hi:
I want run perl script on machine A,
A: ./test.pl
../test.pl will ssh to machine B execute command (cd dirB; runB &),
then ssh to machine C, execute command (cd dirC; runC &)
Thanks.
Re: how to execute command on remote machine
am 21.09.2005 14:37:00 von nybble
Jianli Shen wrote:
> I want run perl script on machine A,
> A: ./test.pl
> ./test.pl will ssh to machine B execute command (cd dirB; runB &),
> then ssh to machine C, execute command (cd dirC; runC &)
I suspect that fork and Net::SSH will probably be what you are looking
for...