esshd v0.1.0 Sshd.PasswordAuthenticator behaviour View Source

This module helps to implement password-based authentication.

Link to this section Summary

Callbacks

Returns a boolean which determines if the username user with password password is authorized to connect to the SSH server

Link to this section Types

Link to this type password() View Source
password() :: charlist
Link to this type username() View Source
username() :: charlist

Link to this section Callbacks

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

Returns a boolean which determines if the username user with password password is authorized to connect to the SSH server.