SSH to remote server
Exec command
netstat -ntlap | grep LISTEN
Discover two ports: epmd (eg 4369) and beam.smp (eg 33397)
Disconnect from remote server
Exec command
ssh -L 4369:localhost:4369 -L 39566:localhost:39566 SERVER
Exec command
iex --name APPNAME@127.0.0.1 --cookie 'COOKIENAME'
APPNAME and COOKIENAME can be found in rel/vm.args.eex and rel/config.exs
Exec commands in iex
> Node.connect(:"hannibal@127.0.0.1")
true
> :observer.start
:ok
Select the remote Node from the Nodes menu