summaryrefslogtreecommitdiff
path: root/lib/auth/keys.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/auth/keys.ex')
-rw-r--r--lib/auth/keys.ex8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/auth/keys.ex b/lib/auth/keys.ex
new file mode 100644
index 0000000..3e0f142
--- /dev/null
+++ b/lib/auth/keys.ex
@@ -0,0 +1,8 @@
+defmodule Chessh.Auth.KeyAuthenticator do
+ use Sshd.PublicKeyAuthenticator
+ require Logger
+
+ def authenticate(_, _, _) do
+ false
+ end
+end