Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ```bash
- # 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.
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement