in reply to Net::SSH2::Channel with exec, reads 0 bytes on suse while works fine on ubuntu
Your example program is not displaying $len, so I'm assuming that in some previous incarnation, you printed it out. If you did not, and are going by the print statement for $output, then the read method could have failed.
Have you compared the ssh2 library versions for the 2 remote systems? I would make sure I was using the same lib version on both before I checked anything else.
fnord
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Net::SSH2::Channel with exec, reads 0 bytes on suse while works fine on ubuntu
by madhurikl (Novice) on Apr 03, 2011 at 11:58 UTC |