Subject: libssh2_session_startup is failing with "Failed getting banner"

libssh2_session_startup is failing with "Failed getting banner"

From: Ishwar Ande <ishwar.ande_at_gmail.com>
Date: Thu, 24 Jun 2010 23:07:22 +0530

Hi,

I am new to libssh2 and 1.2.6 version in my application on Solaris 10
for transferring files from a remote machine through sftp.

I have tried with the sftp.c example and I was able to transfer the files
from Linux as well as Solaris machines. When I use the same code sequence in
my application, the call to libssh2_session_startup is failing with "Failed
getting banner" and returns -1.

What might have caused this problem? Am I missing something? What can I do
to resolve this ?
Please help me to resolve this problem.

Thanks in advance.

--
Regards,
Ishwar.

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-06-24