diff options
author | Simponic <loganhunt@simponic.xyz> | 2022-12-29 17:21:20 -0700 |
---|---|---|
committer | Simponic <loganhunt@simponic.xyz> | 2022-12-29 17:21:20 -0700 |
commit | 1a2bdccf124de6207899f59538cc0ed2efc97b5a (patch) | |
tree | 5b582023531c8df637881899ab64d5f5eddd7f3f /lib/chessh/ssh/server_key.ex | |
parent | 10bc34245e8e1e3ba63fb0720d3bcfb1119db921 (diff) | |
download | chessh-1a2bdccf124de6207899f59538cc0ed2efc97b5a.tar.gz chessh-1a2bdccf124de6207899f59538cc0ed2efc97b5a.zip |
Add scalable nodes and user sessions
Diffstat (limited to 'lib/chessh/ssh/server_key.ex')
-rw-r--r-- | lib/chessh/ssh/server_key.ex | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chessh/ssh/server_key.ex b/lib/chessh/ssh/server_key.ex index 1096e09..72a4fbb 100644 --- a/lib/chessh/ssh/server_key.ex +++ b/lib/chessh/ssh/server_key.ex @@ -1,8 +1,9 @@ defmodule Chessh.SSH.ServerKey do + alias Chessh.Auth.KeyAuthenticator @behaviour :ssh_server_key_api def is_auth_key(key, username, _daemon_options) do - Chessh.Auth.KeyAuthenticator.authenticate(username, key) + KeyAuthenticator.authenticate(username, key) end def host_key(algorithm, daemon_options) do |