Home  |  Linux  | Mysql  | PHP  | XML
From:Sisyphus Date:Wed Mar 10 19:28:55 2010
Subject:Re: stripped output from Net::SSH2

----- 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

Navigate in group perl.beginners at sever nntp.perl.org
Previous Next


Your recent visits
Modeling FIFO financial transactions in Perl
Re: Can anybody explain me what this shebang line is doing?
use with variable
Re: use with variable
Re: 1-line text file with numbers, need to add to them



  
© No Copyright
You are free to use Anything, but please consult your advocate before doing so as this website
also list content from other sources which may be copyrighted.
Site Maintained by Zareef Ahmed
Powered By PHP Consultants