mwiede / jsch

fork of the popular jsch library
Other
664 stars 124 forks source link

A strange bug when use InPutStream and OutPutStream #528

Open evermuteman opened 3 months ago

evermuteman commented 3 months ago

I am tring to use jsch implementing a webssh recently, but i found that when i tried to use Stream something strange happens

Here is my test code 1

I am sure it connects successfully 2

But when i send command to remote server, not only the results are sent to me back, but also the previous command i sent 3

I sincerely thank your attention, this really makes me confused.