[erlang-questions] Openssh server replace by erlang ssh?

Max Lapshin max.lapshin@REDACTED
Tue Jul 14 16:20:34 CEST 2015


Is it possible to launch bash as an erlang ssh shell?

I don't know exactly what problems may be with it, but I suppose
that it is not just a byte to byte copy, because there are some issues with
opening pty.


I've implemented very, very simple piece of code:
https://gist.github.com/maxlapshin/db32ffdcc06a5fe21c40

It allows to connect and run bash, but when I press Ctrl+c on ssh client,
it doesn't send ctrl+c to erlang ssh server, but just closes.

I suppose that it happens because erlang ssh server doesn't tell to forward
control sequences.
Is it possible to fix it somehow?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150714/b7a018ec/attachment.htm>


More information about the erlang-questions mailing list