mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Nodet <gno...@apache.org>
Subject Re: SSHD Custom ShellFactory
Date Wed, 28 Oct 2020 19:48:24 GMT
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 <lgoldstein@apache.org> 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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message