Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Unable to store the command output from Net::SSH2. Please help.

by perl514 (Pilgrim)
on Oct 29, 2012 at 14:54 UTC ( #1001372=note: print w/ replies, xml ) Need Help??


in reply to Unable to store the command output from Net::SSH2. Please help.

Hi Salva,

Thanks for the update, but I cannot download any extra modules, because the system from which I am running the perl scripts is not connected to the internet. I am using DWIM Perl and it only has Net::SSH2.

Hi Syphilis (Rob),

I did try your suggestion, but that still doesnt work. All I got is whats shown below

Connecting to xxx.xxx.xxx.xxx libssh2_channel_open_ex(ss->session, pv_channel_type, len_channel_type +, window_size, packet_size, ((void *)0) , 0 ) -> 0x1137a74 Net::SSH2::poll: timeout = 250, array[1] - [0] = channel - [0] events 1 - libssh2_poll returned 1 - [0] revents 128 Net::SSH2::Channel::DESTROY Net::SSH2::DESTROY object 0x9b7404

Any suggestion to a good tutorial for Net::SSH2 will really help.

Perlpetually Indebted To PerlMonks


Comment on Re: Unable to store the command output from Net::SSH2. Please help.
Download Code
Re^2: Unable to store the command output from Net::SSH2. Please help.
by salva (Monsignor) on Oct 29, 2012 at 15:06 UTC
    Well, Net::SSH::Any has no dependencies besides Net::SSH2, so it should be pretty easy to install, even without internet access. Just unpack its lib directory in the right place under the DWIN directory and you are done!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (14)
As of 2014-08-22 18:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (163 votes), past polls