From 9cdfb6eb9cd30c4e06a7d9fef53e519983827d81 Mon Sep 17 00:00:00 2001 From: Simponic Date: Mon, 19 Dec 2022 01:37:10 -0700 Subject: Initial commit! --- config/config.exs | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 config/config.exs (limited to 'config/config.exs') diff --git a/config/config.exs b/config/config.exs new file mode 100644 index 0000000..807824a --- /dev/null +++ b/config/config.exs @@ -0,0 +1,11 @@ +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" -- cgit v1.2.3-70-g09d2