You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried using ratatouille inside an SSH session, but the terminal got drawn on the server side, not the client side. The SSH server used is https://github.com/jbenden/esshd, which wraps the ssh module in OTP.
Is it possible to achieve this somehow?
The text was updated successfully, but these errors were encountered:
I think it definitely should be possible. The output is written to /dev/tty by default, but it could be made configurable (and set to another file) if needed. It's a matter of making sure the output is written to the right file and that it's redirected correctly to your ssh client.
But I think it works in general via ssh. For example, I can start up openssh-server locally, ssh into the machine, and run one of the examples:
$ ssh ndr@127.0.0.1
Last login: Mon Apr 1 16:07:27 2019 from 127.0.0.1
ndr@localhost ~/c/ratatouille> mix run examples/counter.exs
(That renders the example in my client session.)
So I wonder if this is specific to Erlang ssh or your application. Could you describe how it works a bit more?
For example, is it an Erlang/Elixir client, openssh client, or something else? Also, does the client start a new Erlang VM process with ratatouille, or is it already running when you connect? Is there a PTY connected?
If you have an example that I can run, I'd be happy to test it out here.
I'm late to this party, but if you don't have a display server running echo $DISPLAY (returns nothing on the remote host) or SSH is not configured for X11 forwarding it won't work but it's not a limitation of Ratatouille.
I tried using ratatouille inside an SSH session, but the terminal got drawn on the server side, not the client side. The SSH server used is https://github.com/jbenden/esshd, which wraps the ssh module in OTP.
Is it possible to achieve this somehow?
The text was updated successfully, but these errors were encountered: