Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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

Replies are listed 'Best First'.
Re^2: Unable to store the command output from Net::SSH2. Please help.
by salva (Abbot) 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?
[perldigious]: As long as you are a good "boy scout" stevieb, more power to you... but I like my Jeep, and don't like the idea of rolling it or crashing it in to anything. :-)
[thezip]: Me, not as much.
[perldigious]: Mine too thezip, especially my German Shepherd. He looks like he is about to die of heat exhaustion all summer, so he goes nuts when winter comes and he can play in the snow.
[stevieb]: my main off-road vehicle nowadays is a strengthened mercedes ML320. I'm very hard on it, but I've never had any real issues at all (I love how small and light it is, and it has a very, very good centre of gravity for how I roll)
[perldigious]: "for how I roll"... ahhh, I see what you did there stevieb.

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (13)
As of 2016-12-06 16:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (112 votes). Check out past polls.