From f7c2ccbe26dc808e4a7eae9a378e6c382220961a Mon Sep 17 00:00:00 2001 From: Simponic Date: Thu, 22 Dec 2022 15:27:55 -0700 Subject: Remove shell and esshd - moving to erlang ssh server --- config/config.exs | 12 +++--------- config/test.exs | 4 ++-- 2 files changed, 5 insertions(+), 11 deletions(-) (limited to 'config') diff --git a/config/config.exs b/config/config.exs index 6fb4258..daffcad 100644 --- a/config/config.exs +++ b/config/config.exs @@ -1,15 +1,9 @@ import Config -config :chessh, ecto_repos: [Chessh.Repo] - -config :esshd, - enabled: true, +config :chessh, + ecto_repos: [Chessh.Repo], priv_dir: Path.join(Path.dirname(__DIR__), "priv/keys"), - handler: {Chessh.Shell, :on_shell, 4}, port: 42069, - password_authenticator: Chessh.Auth.PasswordAuthenticator, - public_key_authenticator: Chessh.Auth.KeyAuthenticator, - # TODO - benchmark - max_sessions: 128 + max_sessions: 255 import_config "#{config_env()}.exs" diff --git a/config/test.exs b/config/test.exs index 6ade5f8..c1d70dd 100644 --- a/config/test.exs +++ b/config/test.exs @@ -7,5 +7,5 @@ config :chessh, Chessh.Repo, hostname: "localhost", pool: Ecto.Adapters.SQL.Sandbox -config :esshd, - priv_dir: Path.join(Path.dirname(__DIR__), "priv/test_keys") +config :chessh, + priv_dir: Path.join(Path.dirname(__DIR__), "priv/keys") -- cgit v1.2.3-70-g09d2