----- Original Message -----
From: "perl_haxor 123" <perl.haxor@gmail.com>
To: <beginners@perl.org>
Sent: Thursday, March 11, 2010 6:07 AM
Subject: stripped output from Net::SSH2
> Hi All,
>
> I'm using Net::SSH2 module on windows machine, the purpose of
> this
> script is to login to multiple devices and execute "show run" command and
> print the output of the command to a text file, .......the script login
> to
> multiple devices and executes "show run" command", reads from the channel
> buffer and dumps the output to a text file.....but the problem is the text
> file doesn't contain the full output, the last few lines are stripped
> out..........Does anybody know what the problem could be?
>
Could you provide a small (minimal) script that demonstrates the problem ?
(Remember to remove password and any other sensitive information before
posting.)
Cheers,
Rob
|