esshd v0.1.0 Sshd.PublicKeyAuthenticator behaviour View Source

This module helps with Public Key authentication.

Link to this section Summary

Callbacks

Returns a boolean that determines if the username user, presenting the public_key OpenSSH public key, is authorized to connect to the SSH server

Link to this section Types

Link to this type public_key() View Source
public_key() :: binary
Link to this type username() View Source
username() :: charlist

Link to this section Callbacks

Link to this callback authenticate(username, public_key, opts) View Source
authenticate(username, public_key, opts) :: boolean

Returns a boolean that determines if the username user, presenting the public_key OpenSSH public key, is authorized to connect to the SSH server.