On Mon, 14 Sep 2009, Marek Zizlavsky wrote:
Hi,
I have a small problem using libssh2 library, which google couldn't
resolve for me :-(
I'm writing a simple SSH client console application using libssh2 library. I
would like to display banner send by remote SSH server, so user can read it.
When I try to access session->remote.banner structure item, I receive
"error: dereferencing pointer to incomplete type" compiler error (using gcc
4.3.3). What is proper way to obtain banner text using libssh2?
There is no current API for accessing that.
P.S. Maybe it will be nice to have libssh2_banner_get equivalent to
function libssh2_banner_set.
Yes, I think it would make a lot of sense. Care to start working on
implementing that?
--
/ daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel