Subject: Re: ProFTPD SFTP connection problem

Re: ProFTPD SFTP connection problem

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


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:


But please modify the source code sftp.c to call


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

Please send the output.

Received on 2012-10-01