chessh/config/config.exs

12 lines
317 B
Elixir
Raw Normal View History

2022-12-19 03:37:10 -05:00
import Config
config :esshd,
enabled: true,
priv_dir: Path.join(Path.dirname(__DIR__), "priv/keys"),
handler: {Chessh.Shell, :on_shell, 4},
port: 42069,
public_key_authenticator: Chessh.Auth.KeyAuthenticator,
password_authenticator: Chessh.Auth.PasswordAuthenticator
import_config "#{config_env()}.exs"