tomaswolf commented on issue #893:
URL: https://github.com/apache/mina-sshd/issues/893#issuecomment-4250147333

   That shows that your client sends `"shell" + LF`, and then the server sends 
back two messages:
   
   1. "she"
   2.  "ll" + CR + CR + LF.
   
   So the server _does_ echo, and it does so on the normal output stream, not 
on the error stream. Therefore the client is correctly outputting it.
   
   I don't know why your server sends back two messages instead of one. The 
line ending is a bit strange, too. (I'd have expected either CR + LF or a plain 
LF, but not _two_ CRs and a LF).
   
   Why does your j2ssh code does not output this, or what does the j2ssh code 
do differently to not get that echo?
   
   What happens if you send not `"shell" + LF` but `"shell" + CR + LF`?
   
   In any case, this proves that the problem is not with the Apache MINA SSHD 
client.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to