Hello,

All basic commands (ls, get, put) failed with lftp. Connexion and "change
directory" are OK.  I can  run successfully  these 3  basic commands with
using directly the client "sftp".

$ /opt/csw/bin/lftp -e "debug;ls;exit" -u "wimaxInfra,XXXXX" sftp://172.x.y.z
---- Running connect program (/opt/alct/bin/ssh -a -x -s -l wimaxInfra 
172.x.y.z sftp)
---> sending a packet, length=5, type=1(INIT), id=0
<--- Password: XXXX
<--- got a packet, length=5, type=2(VERSION), id=0
---- protocol version set to 3
---> sending a packet, length=10, type=16(REALPATH), id=1
<--- got a packet, length=51, type=104(NAME), id=1
---- home set to /ftp/wimaxInfra
---- path on wire is `.'
---> sending a packet, length=10, type=11(OPENDIR), id=2
<--- got a packet, length=34, type=101(STATUS), id=2
ls: Access failed: Permission denied
---- Disconnecting


Anyone an idea? Is there a way  to incresase the debug/trace level (I can
recompile lftp)?

Thanks,


More data:

 - LFTP version:

        LFTP | Version 3.5.4 | Copyright (c) 1996-2006 Alexander V. Lukyanov
        [...]
        Libraries used: Readline 5.0, Expat 1.95.7, OpenSSL 0.9.8a 11 Oct 2005, 
libiconv 1.9

 - I have tried with the latest version (3.5.6): same problem.

 - It is OK with  other SSH servers. In  this case the  end of the dialog
   is:

        ---- path on wire is `.'
        ---> sending a packet, length=10, type=11(OPENDIR), id=2
        <--- got a packet, length=13, type=102(HANDLE), id=2
        ---- got file handle 00000000 (4)
        ---> sending a packet, length=13, type=12(READDIR), id=3
        <--- got a packet, length=1711, type=104(NAME), id=3
        ---- file name count=15
        ---> sending a packet, length=13, type=12(READDIR), id=4
        ---> sending a packet, length=13, type=12(READDIR), id=5
        <--- got a packet, length=28, type=101(STATUS), id=4
        ---- eof
        ---> sending a packet, length=13, type=4(CLOSE), id=6

 - sftp variables:

        set sftp:charset ""
        set sftp:connect-program "/opt/alct/bin/ssh -a -x"
        set sftp:max-packets-in-flight 16
        set sftp:protocol-version 4
        set sftp:server-program sftp
        set sftp:size-read 0x8000
        set sftp:size-write 0x8000

  - SSH client version (/opt/alct/bin/ssh -v):

        OpenSSH_4.3p2, OpenSSL 0.9.8a 11 Oct 2005

-- 
Pascal Ethvignot                                     Alcatel CIT
Tel MS:  +33 (0)1 69 63 13 08                   Mobile Radio Division
 or VZ:  +33 (0)1 30 77 50 70                       Route de Nozay
mailto:[EMAIL PROTECTED]        91461 Marcoussis Cedex - France

Reply via email to