SCP uploads hang in TotalCommander
Dropbear running on Openwrt has a strange issue in SCP mode. It is "incompatible" with TotalCommander SFTP plugin. The issue is described here https://www.ghisler.ch/board/viewtopic.php?p=424348#p424348
The issue is caused by commit 8e6f73e879cafa592148f8393a546d7f59e41060 (second part, svr-chansession.c).
I'll have a look.
Pasting the forum report below for future.
TC SFTP has some kind of conflict with the latest Openwrt SSH server Dropbear v2022.xx. It works fine with remote devices (several ms latency). But it hangs in some situations with local devices (less 1ms latency).
Problem criteria:
- Local network device with low latency (less 1ms)
- Modern device with multiple cores
- Dropbear v2022.xx SSH server
SFTP upload operation of large file (several MB) may freeze TC for about a minute.
Openwrt 22.03.2 running in VirtualBox can be used for problem emulation.