Erlang remote shell not working

后端 未结 1 1881
暗喜
暗喜 2020-12-19 01:38

I have some strange behaviour on my docker containers (CentOS). When I SSH into it there\'s a running instance of Erlang VM (api@127.0.0.1) I can\'t connect to it with -rems

相关标签:
1条回答
  • 2020-12-19 02:31

    What is $TERM in shell you're trying to open remote? There is a problem when TERM is absent or is not known to ncurses which Erlang is built against, making remote shell connection fail silently. Try this one:

    TERM=xterm ./bin/erl -name 'remote@127.0.0.1' -remsh 'api@127.0.0.1'

    I once reported the problem to Erlang mailing list but no answer came up. Now I see this issue is in Erlang issue tracker. Please vote for it to be picked by OTP team ;)

    0 讨论(0)
提交回复
热议问题