Hi,
I have downloaded the "libssh2-1.2.2" and configured it with
"--enable-debug" argument. Following are the steps i foolowed
1> ./configure --prefix=/usr --enable-debug
2> make
3> make install
then i have downloaded the "x11.c" file and modified it like below (changed
only a single line)
if (set_debug_on == 1)
libssh2_trace(session, LIBSSH2_TRACE_CONN | LIBSSH2_TRACE_TRANS |
LIBSSH2_TRACE_KEX | LIBSSH2_TRACE_AUTH | LIBSSH2_TRACE_ERROR);
then compiled it using command
gcc -g -lssh2 -o x11 x11.c
now when i run this binary like
./x11 a.b.c.d user1 password1 DEBUG
it does not shows any debug output.
Am I missing somthing????
It would be a great help to me if anyone can help me in this regard and i
would be thankful.
Thanks and Regards,
Sandeep Kumar Patra
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-01-27