On Mon, 24 Aug 2009, Shangguan, Xuan (FXSGSC) wrote:

> -debug- username = sxuan, password = *******, sftppath = /home/sxuan/
> Fingerprint: 0B F2 D3 94 9D 0F 75 BE 69 15 33 42 B8 0D 88 CA 
> Authentication methods: publickey,gssapi-with-mic,password
> libssh2_sftp_init()!
> Unable to init SFTP session
> all done

[Daniel] Run with a debugger to see why or how it fails?

[Xuan]: Could it be more specific? I have very limited knowledge on using 
debugger. 

> [Question 3]: How to use "libssh2_trace()" to debug?

[Daniel] You build libssh2 with debug enabled, then you read the man page for 
libssh2_trace. It's also available on the libssh2 web site.

[Xuan]: Yes I built it with the debug switch enabled "--enable-debug", but 
still could not figure out how it produces the debugging info and how to use 
libssh2_trace. An example on debugging will be very helpful for me. Thanks.  

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to