cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Executing error of SFTP in AIX Unix 4.3/5.1

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 21 Mar 2007 11:21:14 +0100 (CET)

On Wed, 21 Mar 2007, DAO Anh-Viet wrote:

> [libssh2] Transport: Looking for packet of type: 99
> [libssh2] Transport: Looking for packet of type: 100
> [libssh2] Failure Event: -22 - Unable to complete request for channel-process-startup
> [libssh2] Failure Event: -21 - Unable to request SFTP subsystem
> [libssh2] Connection: Freeing channel 0/0 resources
> [libssh2] Connection: Closing channel 0/0
> [libssh2] Transport: Sending packet type 97, length=5, 61 00 00 00 00
> [libssh2] Transport: Sending packet with total length 12 (6 bytes
> padding)
> [libssh2] Transport: Checking for packet: will not block
> [libssh2] Transport: Looking for packet of type: 94
> [libssh2] Transport: Checking for packet: will not block
> [libssh2] Transport: Looking for packet of type: 95
> * Failure initialising sftp session

This is clearly libssh2 failing to setup the SFTP session so then naturally
libcurl won't be able to use it...

I think a debug session with libssh2 and its sftp.c example application
running under this AIX version is a suitable next step!

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-03-21