Subject: Re: libssh2_session_startup is failing with "Failed getting banner"

Re: libssh2_session_startup is failing with "Failed getting banner"

From: Peter Stuge <peter_at_stuge.se>
Date: Fri, 25 Jun 2010 08:33:34 +0200

Ishwar Ande wrote:
> 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?

No idea without more info. Please send what Daniel asked for.

> What can I do to resolve this ?

It also helps if you send the code you are using. Ideally the
complete program, so we can see what if anything is going on *before*
the call to libssh2_session_startup().

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