Am waiting for 10 secs for every LIBSSH2_ERROR_EAGAIN. If I try continuously in loop, after 10 ot 15 tries it is failing with error code -7.
I am able to connect to all around 55 different OS s with this sample one.But only failing when it connects SuSE 10. the sshd version on SuSE 10 machine is OpenSSH_4.2p1, OpenSSL 0.9.8a 11 Oct 2005 need to solve this issue. Plz try to help out from this issue. On Mon, Aug 3, 2009 at 8:20 PM, Daniel Stenberg <[email protected]> wrote: > On Mon, 3 Aug 2009, Bhanu Prakash wrote: > > PLEASE don't revert to top-posting and leaving your brain behind. > > We're but a few "enthusiasts" around here and we cannot support and solve > issues for people. We can primarily help with advice and hints on how YOU > can continue your debugging. Yes, *debugging*. Roll up your sleeves and > prepare to dig some code. > > My sample program is running on Rhel 5u 1 64 bit. This does that , connect >> to remote machine executes some commands to find the remote machine >> Os_type. >> Am using non-blocking socckect. I attached My sample project file to this >> mail. >> When am trying to connect to SuSE 10 machine it failing while logging. >> If we print that last error message It is showing. >> >> Would block exchanging encryption keys >> >> plz check the attached cpp file. >> > > But what function is it that fails? What is the last that happens over the > wire, shown with libssh2_trace() enabled? What server is running in the > other end? Does it always fail the same way against that server? > > The error sounds to me like a mistake somewhere, as it sounds like the > desrciption for an EWOULDBLOCK situation that you simply should "wait out" > until it is fine again. > > > -- > > / daniel.haxx.se > _______________________________________________ > libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel >
_______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
