in reply to Re: Net::SSH2::Channel with exec, reads 0 bytes on suse while works fine on ubuntu
in thread Net::SSH2::Channel with exec, reads 0 bytes on suse while works fine on ubuntu
1) Yes. Both execute same commands on the same remote machine.
2) Yes. Both run the same version of Net::SSH2
3) Yes. Both have the same libssh2
4) Yes. Both run the same perl 5.10.0
This is the debug output of my script : ------------libssh2_channel_open_ex(ss->session, pv_channel_type, len_channel_type +, window_size, packet_size, ((void *)0) , 0 ) -> 0x844420c Net::SSH2::Channel::read(size = 8192, ext = 0) - read 0 bytes - read 0 total output is status is 0 Net::SSH2::Channel::DESTROY Net::SSH2::DESTROY object 0x83aaa3c
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Net::SSH2::Channel with exec, reads 0 bytes on suse while works fine on ubuntu
by syphilis (Archbishop) on Apr 04, 2011 at 04:29 UTC |