diff options
author | Simponic <loganhunt@simponic.xyz> | 2022-12-22 15:27:55 -0700 |
---|---|---|
committer | Simponic <loganhunt@simponic.xyz> | 2022-12-22 15:27:55 -0700 |
commit | f7c2ccbe26dc808e4a7eae9a378e6c382220961a (patch) | |
tree | 2c5e6074937d9887aabf31c8bbfa4427fd8719a5 /config | |
parent | fed5d8a9e7b9500d317f2d8664cfe8ef4138154e (diff) | |
download | chessh-f7c2ccbe26dc808e4a7eae9a378e6c382220961a.tar.gz chessh-f7c2ccbe26dc808e4a7eae9a378e6c382220961a.zip |
Remove shell and esshd - moving to erlang ssh server
Diffstat (limited to 'config')
-rw-r--r-- | config/config.exs | 12 | ||||
-rw-r--r-- | config/test.exs | 4 |
2 files changed, 5 insertions, 11 deletions
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") |