On Thu, 8 Dec 2011, shengqi158 wrote:

hello folks,
OS: ubuntu 10.10
libssh2 version :1.3.0
remote host'os : cisco pix

libssh2_channel_read returned -37

That's just EAGAIN and not interesting.

libssh2_channel_read returned -43

This is LIBSSH2_ERROR_SOCKET_RECV but doesn't say a lot on its own. Can you enable debug/trace and see if all the extra info reveals something?

by the way, I can use the example code ssh2 to login the remote host.

Yes, that example logs in and runs a command on a host.

--

 / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to