in reply to Re: Perl (Net::SSH::Perl) script sometimes hangs while running remote command but shell script works
in thread Perl (Net::SSH::Perl) script sometimes hangs while running remote command but shell script works

It gets stuck only when it's invoking a wrapper script present on remote machine. SCP works fine.
  • Comment on Re^2: Perl (Net::SSH::Perl) script sometimes hangs while running remote command but shell script works

Replies are listed 'Best First'.
Re^3: Perl (Net::SSH::Perl) script sometimes hangs while running remote command but shell script works
by salva (Canon) on Aug 01, 2014 at 09:48 UTC
    Then, connect to the remote server in parallel and inspect what the wrapper script is doing (for instance, using strace or a debugger), it should be waiting for something.