esshd v0.1.0 Sshd.PublicKeyAuthenticator.Default View Source

Default implementation of Public Key authentication.

Link to this section Summary

Functions

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 Functions

Link to this function authenticate(username, public_key, opts) View Source

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

Callback implementation for Sshd.PublicKeyAuthenticator.authenticate/3.