www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: Re: ProFTPD SFTP connection problem

Re: ProFTPD SFTP connection problem

From: Peter Stuge <peter_at_stuge.se>
Date: Mon, 1 Oct 2012 14:35:47 +0200

Hi,

Michael Krietemeyer wrote:
> I am using a libssh2 based client to connect to a ProFTPD with mod_sftp
> (0.9.7). I have teseted it with different versions of the library (1.3.0
> and 1.4.2). I alwasy got the following errors (at the end of this post).

Interesting. Please build a libssh2 library with debugging enabled:

./configure --enable-debug

And ideally use one of the included examples instead of PHP bindings:

example/sftp

But please modify the source code sftp.c to call

libssh2_trace(session,~0);

..right before the call to libssh2_session_handshake() on line 161.

Please send the output.

//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2012-10-01

the libssh2 team