Dobby Erlang node that depends on dobby_core_lib intended for running
Dobby as standalone service.
Table of Contents
- Erlang R17+
At the beginning get rebar:
make rebarIf you want to connect to the dobby Erlang shell using ssh with
keys, you must
generate keys for deps/erl_sshd. Using make:
makeUsing rebar and relx directly:
./rebar get-deps
./rebar compile
deps/erl_sshd/make_keys
./relx -c _rel/relx.configYou may add your own public keys to the authorized_keys file in
priv/erl_sshd (remember to ./relx -c _rel/relx.config or make rel
afterwards).
If you want to connect to the dobby Erlang shell using ssh with
a username and password,
add or modify the usernames and passwords
to the erl_sshd section of rel/files/sys.config.
_rel/dobby_core_node/bin/dobby_core_nodeIf you genereated keys in erl_sshd before generating the dobby release, you can connect to the dobby server's Erlang shell using ssh.
ssh 127.0.0.1 -p 11133 -i id_rsaor
ssh lincx@127.0.0.1 -p 11133The username and password is set via
config/sys.conifg. Generate a new release after changing this file.
To exit the Erlang shell obtained via ssh call exit().
The sys.config and the vm.args files are stored in the config/ directory.