Sshd.ShellHandler.Example (esshd v0.3.0) View Source
An example implementation of Sshd.ShellHandler
, implementing a very simple
Read-Eval-Loop, that does nothing.
Link to this section Summary
Functions
Callback implementation for Sshd.ShellHandler.on_connect/4
.
Callback implementation for Sshd.ShellHandler.on_disconnect/3
.
Callback implementation for Sshd.ShellHandler.on_shell/4
.
Link to this section Types
Specs
ip_address() :: :inet.ip_address()
Specs
method() :: String.t()
Specs
peer_address() :: {ip_address(), port_number()}
Specs
port_number() :: :inet.port_number()
Specs
ssh_publickey() :: binary()
Specs
username() :: String.t()
Link to this section Functions
Callback implementation for Sshd.ShellHandler.on_connect/4
.
Callback implementation for Sshd.ShellHandler.on_disconnect/3
.
Callback implementation for Sshd.ShellHandler.on_shell/4
.