set -e lsof -ti:4000 | xargs kill elixir --name a@10.0.0.1 --cookie supersecret --erl "-detached -kernel inet_dist_listen_min 9100 inet_dist_listen_max 9100" -S mix run --no-halt sleep 2 iex --name console@localhost --cookie supersecret --remsh a@10.0.0.1