I am trying to implement a shell terminal in a webapp using websocket in spring. I am able to send a single command to the jsch exec channel and send the output back to the