[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Newbie Question


Hi,
I'm trying to upgrade the version of our libssh from 4.8.1 to the current version 5.90 -  Was able to build the current version in the three platforms ( windows,Linux and Solaris) but have trouble getting the ssh_connect() call complete without error.  Get a timeout error returned from this call.

Our program that uses libssh makes a TCP socket connection to the remote; passes the socket descriptor to libssh with the OPTION_FD option and then calls ssh_connect()

Not sure if calling ssh_connect() is necessary in the new version.  In the old version besides the connect; the handshake and the key exchange was being done in this routine.  The use of callbacks in this routine is also new.

Looking for help.  A sample routine of using libssh with a connected socket would be invaluable.

Thanks and Regards,
Saju Panikulam

Follow-Ups:
Re: Newbie QuestionAndreas Schneider <asn@xxxxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org