Net-SSH-Perl - Truncation of data?

Posted on Tue Sep 4 17:31:18 2007 by trefalgar
Truncation of data?

I'm getting some very wierd behavior when dealing with large outputs to Net::SSH::Perl. The more I try to reduce the data, the less data seems to get through the module.

From the command line, if I ssh to a remote box with command X, I receive 7150 lines of data back. If I run the same command from within Net::Perl::SSH, I receive anywhere from 5700 to 6500 lines back. I haven't been able to figure out the discrepancy between just using the perl module and issuing different commands ( they all return the same output if not used within Net::SSH::Perl ).

Is anyone else dealing with this problem, or delt with it in the past?

Thank you.

Direct Responses: 6011 | Write a response