tomaswolf commented on issue #897: URL: https://github.com/apache/mina-sshd/issues/897#issuecomment-4434398541
Oh, that. I think you would need to run a terminal emulator on the server side. The `InteractiveProcessShellFactory` doesn't. Compare running the following directly on Linux: ``` $ bash 2>&1 1>out.txt <<EOF > ls > bash > ls > exit > exit > EOF $ cat out.txt ``` When I do that, `out.txt` contains twice the output from `ls`, but neither prompts nor the commands. You might want to take a look at [jline3](https://github.com/jline/jline3). It has some code that shows how to use it with Apache MINA SSHD at https://github.com/jline/jline3/tree/master/remote-ssh/src/main/java/org/jline/builtins/ssh . See also [SSHD-1029](https://issues.apache.org/jira/browse/SSHD-1029) and [SSHD-1239](https://issues.apache.org/jira/browse/SSHD-1239). -- 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]
