Serega2780 commented on issue #745: URL: https://github.com/apache/mina-sshd/issues/745#issuecomment-2841192342
> The log looks perfectly normal, except for the fact that it's all 1-byte messages. According to the log, 11707 bytes were received. That's what your code reports, and also what I get by subtracting the first and last channel window sizes. That's all the device sent before it sent EOF. > > If there are bytes missing, the device simply didn't send them. At least it looks that way. How many bytes did you expect? Please find attachments for the same device, same command but with different ssh-libs - net.schmizz.sshj and com.jcraft.jsch. As you can see in sshj.log the device sends1-byte messages indeed. But the result is the whole device config of 88393 bytes - RESULT LENGTH 88393. Unfortunately, com.jcraft.jsch lib doesn't have such an informative DEBUG log, but still it receives all the RESULT LENGTH 88393 bytes. So, from mina-sshd lib Ido expect to get totally the same result of 88393 bytes. [JschConnectionService.txt](https://github.com/user-attachments/files/19973661/JschConnectionService.txt) [SshjConnectionService.txt](https://github.com/user-attachments/files/19973660/SshjConnectionService.txt) [sshj.log](https://github.com/user-attachments/files/19973631/sshj.log) [jsch.log](https://github.com/user-attachments/files/19973634/jsch.log) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For additional commands, e-mail: dev-h...@mina.apache.org