in reply to Re^5: A little demo for Net::SSH2
in thread A little demo for Net::SSH2
Hi,
zentara: No still does not work.
afoken: Does not work means as follow: I run the perl script (Net::SSH2) in my machine host1, which is supposed to run a command "a.out" in machine host2. If I do
I can see in host2 this program running. (by command ps or top) But if I do$chan1->exec("./a.out");
I do not see any program running in host2.$chan1->exec("./a.out &"); or $chan1->exec("nohup ./a.out"); (as zentara suggested)
The machines are NFS mounted, so all machines can see same home directory.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^7: A little demo for Net::SSH2
by zentara (Archbishop) on Nov 15, 2010 at 18:20 UTC |
In Section
Cool Uses for Perl