-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Closed
Description
It seems that directly connecting to a remote shell with the iex --remsh doesn't work. I'm pretty new to Elixir, so I'm not sure if it ever worked like I think it should, or that it's a new bug.
Example:
bash1> iex --sname test1 --cookie 1234
bash2> iex --sname test2 --cookie 1234 --remsh test1@zbook
Erlang R16B (erts-5.10.1) [source] [64-bit] [smp:2:2] [async-threads:10] [hipe] [kernel-poll:false]
*** ERROR: Shell process terminated! (^G to start new job) ***
This works however:
bash1> iex --sname test1 --cookie 1234
bash2> erl -sname test2 -setcookie 1234 -remsh test1@zbook
Eshell V5.10.1 (abort with ^G)
(test1@zbook)1> 'Elixir.IEx':start().
<0.57.0>
Interactive Elixir (0.9.2.dev) - press Ctrl+C to exit (type h() ENTER for help)
rem(test1@zbook)1>
This works too:
bash1> iex --sname test1 --cookie 1234
bash2> iex --sname test2 --cookie 1234
Erlang R16B (erts-5.10.1) [source] [64-bit] [smp:2:2] [async-threads:10] [hipe] [kernel-poll:false]
Interactive Elixir (0.9.2.dev) - press Ctrl+C to exit (type h() ENTER for help)
iex(test2@zbook)1>
User switch command
--> r test1@zbook 'Elixir.IEx'
--> c
Interactive Elixir (0.9.2.dev) - press Ctrl+C to exit (type h() ENTER for help)
rem(test1@zbook)1>
Best,
Vincent
Metadata
Metadata
Assignees
Labels
No labels