Looks like I was able to get it to work JLine following the example outlined here:
https://www.google.com/amp/s/blog.javaforge.net/post/68495259926/embedded-ssh-daemon-and-remote-shell-for-java-applicatio/amp <https://www.google.com/amp/s/blog.javaforge.net/post/68495259926/embedded-ssh-daemon-and-remote-shell-for-java-applicatio/amp> Thanks for the help! > On Oct 28, 2020, at 5:02 PM, Oskar Z <[email protected]> wrote: > > Thank you! > > Are there examples of JLine and using in App code? > > Regards, > Oskar > >> On Oct 28, 2020, at 3:48 PM, Guillaume Nodet <[email protected]> wrote: >> >> Jline can be used to create a fully functional shell and integrate it into >> JLine. >> The issue Lyor pointed is when you want to integrate SSHD with a native >> shell such as bash instead of using a java shell. This cause issues which >> haven't been fully resolved yet. >> If you want to check using a java shell, you can simply run the jline demo >>> [build jline locally] >>> cd demo >>> ././jline-gogo.sh ssh jansi >>> sshd start >> >> It will create an sshd server that you can connect to with any ssh client. >> You'll end up in the jline-gogo shell with smart completion, history, etc... >> >> Cheers, >> Guillaume >> >> Le mer. 28 oct. 2020 à 17:44, Lyor Goldstein <[email protected]> a >> écrit : >> >>>>> I found this project called JLine, and help can be provided there for >>> SSHD and console/terminals? >>> >>> See https://issues.apache.org/jira/browse/SSHD-1029 - turns out it's not >>> that simple even with JLine >>> >> >> >> -- >> ------------------------ >> Guillaume Nodet > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >
