# ssh to remote
localhost$ ssh -p 30000 my_app@diamond
my_app@my_app.com$ epmd -names
epmd: up and running on port 4369 with data:
name my_app at port 43108
my_app@my_app.com$ exit
# set up ssh tunnel
localhost$ ssh -p 30000 -N -L 43108:localhost:43108 -L 4369:localhost:4369 my_app@my_app.com
# open new terminal session
localhost$ scutil --set HostName "my_app"
localhost$ erl -sname debug -setcookie my_app -run observer
# gotchas
#
# remember to build exrm release with :runtime_tools added to :applications.
Created
February 28, 2017 10:01
-
-
Save tmjoen/91a79f6e5663ca9c64b3a4ff24992d67 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment