Subject: Re: libssh2 for SFTP

Re: libssh2 for SFTP

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 24 Aug 2009 10:27:59 +0200 (CEST)

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

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

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

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

-- 
  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2009-08-24