summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorSimponic <loganhunt@simponic.xyz>2022-12-19 20:45:01 -0700
committerSimponic <loganhunt@simponic.xyz>2022-12-19 20:45:01 -0700
commit110eb0b1990d5d5ee77f9368a9b7653cfdc07131 (patch)
treebfe5744255cdfbdc9412d148236a2bf5f8aad7c1 /config
parentfe661a935ac887b11aec31ff049ace2db7ccbf84 (diff)
downloadchessh-110eb0b1990d5d5ee77f9368a9b7653cfdc07131.tar.gz
chessh-110eb0b1990d5d5ee77f9368a9b7653cfdc07131.zip
Implement public key and add tests
Diffstat (limited to 'config')
-rw-r--r--config/config.exs4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/config.exs b/config/config.exs
index bafbdfe..6fb4258 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -8,6 +8,8 @@ config :esshd,
handler: {Chessh.Shell, :on_shell, 4},
port: 42069,
password_authenticator: Chessh.Auth.PasswordAuthenticator,
- public_key_authenticator: Chessh.Auth.KeyAuthenticator
+ public_key_authenticator: Chessh.Auth.KeyAuthenticator,
+ # TODO - benchmark
+ max_sessions: 128
import_config "#{config_env()}.exs"