esshd v0.1.0 Sshd.AccessList behaviour View Source

This module provides a means to permit incoming SSH connections based on the remote IP address and TCP port.

Link to this section Summary

Callbacks

Returns a boolean which should determine if the remote IP and TCP port, peer_address, is permitted to connect to the SSH server

Link to this section Types

Link to this type ip_address() View Source
ip_address() :: :inet.ip_address
Link to this type peer_address() View Source
peer_address() :: {ip_address, port_number}
Link to this type port_number() View Source
port_number() :: :inet.port_number

Link to this section Callbacks

Link to this callback permit?(peer_address) View Source
permit?(peer_address) :: boolean

Returns a boolean which should determine if the remote IP and TCP port, peer_address, is permitted to connect to the SSH server.