in reply to Re: Net::SSH2 blocked while reading from Channel
in thread Net::SSH2 blocked while reading from Channel

Hi Salva, No users with windows yet. Bracing myself for that :-)

I like how Net::SSH2 works with channels and subsystems, a cursory look at Net::OpenSSH does not reveal much on that but I will take a closer look.

Still is very odd that many Unix flavors work just fine and just Fedora has an issue... it gets me wondering what could possibly be the cause of that? Does not seem to be an issue with Net::SSH2 itself.

Thanks,

Paulo
  • Comment on Re^2: Net::SSH2 blocked while reading from Channel

Replies are listed 'Best First'.
Re^3: Net::SSH2 blocked while reading from Channel
by salva (Canon) on Mar 21, 2011 at 17:20 UTC
    I like how Net::SSH2 works with channels and subsystems, a cursory look at Net::OpenSSH does not reveal much on that but I will take a closer look.

    Net::OpenSSH does not expose the Channel concept to the user. It gets hidden behind higher level and more familiar abstractions (i.e. processes, pipes, redirections, etc.).

    Still is very odd that many Unix flavors work just fine and just Fedora has an issue...

    Net::SSH2 and the libssh2 library are not mature yet and critical bugs still pop up now and there... though, they are active projects so try to write a minimal script reproducing the error and send it to the module author.

Re^3: Net::SSH2 blocked while reading from Channel
by madhurikl (Novice) on Mar 31, 2011 at 17:56 UTC
    Hi Paulo, Did you get any resolution for this? I have the same issue on my suse linux, but it doesn't work with the exact bytes too for me. How did you get the exact number of bytes in the channel? Could you please paste your code? Thanks, Madhuri
      No I just moved to another box...we figured it was something wrong with that OS/libs combination as we did not find the issue anywhere else
      In my code snippet, just replace the 567 by a higher number, it should tell you how many bytes it read.
      Thanks,

      Paulo