tomaswolf commented on issue #791: URL: https://github.com/apache/mina-sshd/issues/791#issuecomment-3140460238
You don't know what the server is, but you send it commands? That's strange, to say the least. ;-) Anyway: so you open a shell and you then transfer data by dumping some data locally on the server and then reading from the "terminal" output in the client. In that case: yes, don't quit in the server like that. Make it send a unique end marker (maybe "display 'TRANSFER_DONE'"), and once you've read that marker in the client, close the channel in the 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: 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