chessh/config/config.exs
2022-12-19 01:39:10 -07:00

12 lines
317 B
Elixir

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"