in reply to In Linux how to kill the Prompt

It sounds like what you are wanting may be to use Expect or Net::SSH::Expect to log in via ssh into the other machine and kick off the process. Both of the modules mentioned can be used to write code to log into a remote system and execute commands.

Hope that helps.

Replies are listed 'Best First'.
Re^2: In Linux how to kill the Prompt
by vinoth.ree (Monsignor) on Feb 19, 2015 at 07:47 UTC

    Is it possible to run command as background job on remote machine using this module?

    I can see its possible using Net::OpenSSH which is documented as, Running detached remote processes

      $ssh->system("nohup $long_running_command &");

    All is well. I learn by answering your questions...