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
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 ;)