Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: Perl (Net::SSH::Perl) script sometimes hangs while running remote command but shell script works

by Technext (Acolyte)
on Aug 01, 2014 at 08:47 UTC ( [id://1095861]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1095861]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (2)
As of 2024-04-25 02:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found