Per subject. I don't understand what the client is waiting for -- according to 'ls' with debug set, every packet sent has received a response. Could the unhandled 'env' requests be related?

This sftp server has been tested with both the OpenSSH command-line sftp client and WinSCP, and displays similar issues with neither. What can I do to track this down?

On the client side:

lftp [EMAIL PROTECTED]@localhost:/> ls
---- Running connect program (ssh -a -x -s -l [EMAIL PROTECTED] -p 2022 localhost sftp)
---> sending a packet, length=5, type=1(INIT), id=0
<--- got a packet, length=31, type=2(VERSION), id=0
---- protocol version set to 3
---- path on wire is `/'
---> sending a packet, length=10, type=11(OPENDIR), id=1
<--- got a packet, length=12, type=102(HANDLE), id=1
---- got file handle 687831 (3)
---> sending a packet, length=12, type=12(READDIR), id=2
<--- got a packet, length=227, type=104(NAME), id=2
---- file name count=2
---> sending a packet, length=12, type=12(READDIR), id=3
---> sending a packet, length=12, type=12(READDIR), id=4
<--- got a packet, length=24, type=101(STATUS), id=3
<--- got a packet, length=24, type=101(STATUS), id=4
`ls' at 0 [Receiving data]

On the server side:

INFO:paramiko.transport:Auth granted (publickey).
DEBUG:paramiko.transport.1:Max packet in: 34816 bytes
DEBUG:paramiko.transport.1:Max packet out: 32768 bytes
INFO:paramiko.transport:Secsh channel 1 opened.
DEBUG:paramiko.transport.1:Unhandled channel request "env"
DEBUG:paramiko.transport.1:Unhandled channel request "env"
DEBUG:paramiko.transport:Starting handler for subsystem sftp
DEBUG:paramiko.transport.1.sftp:Started sftp server on channel <paramiko.Channel 1 (open) window=2097152 -> <paramiko.Transport at 0x11a2690L (cipher aes128-cbc, 128 bits) (active; 1 open channel)>>
DEBUG:paramiko.transport.1.sftp:Request: opendir
DEBUG:paramiko.transport.1.sftp:Request: readdir
DEBUG:paramiko.transport.1.sftp:Request: readdir
DEBUG:paramiko.transport.1.sftp:Request: readdir

Reply via email to