SSH to an elixir managed TUI


I bet many of you know , it is a game that can be played on the terminal just by calling an ssh <hostname> command.

I would like to know if it would be possible to offer the same functionality to login to a terminal UI (for instance ratatouille ), not giving access to any elixir/erlang shell but directly to an IO process (or something like that) that could receive user input and display an interface.

The goal would be to offer a lightweight admin panel for devices or servers that run elixir. The game I gave in example accepts anyone but I guess a public key authentication could be added on top of that to restrict access.

I don’t know about SSH so I don’t know if it is even possible, but … I just thought it was fun.

What do you think ? Useless ? Impossible ?

Thanks !


I found a question on ratatouille’s issues that lead me to jbenden/esshd. It looks like its doable.