Pleroma v1.1.9-10-g42f76306+dev Pleroma.BBS.Handler View Source

Link to this section Summary

Functions

User function callback to perform any tasks prior to launching a shell session.

User function callback to perform any tasks after a shell session. Will always be called, regardless of disconnect reason.

User function callback to handle incoming shell requests.

Link to this section Types

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 type

ssh_publickey()

View Source
ssh_publickey() :: binary()
Link to this type

username()

View Source
username() :: String.t()

Link to this section Functions

Link to this function

handle_command(state, command)

View Source
Link to this function

on_connect(username, ip, port, method)

View Source

User function callback to perform any tasks prior to launching a shell session.

Callback implementation for Sshd.ShellHandler.on_connect/4.

Link to this function

on_disconnect(username, ip, port)

View Source

User function callback to perform any tasks after a shell session. Will always be called, regardless of disconnect reason.

Callback implementation for Sshd.ShellHandler.on_disconnect/3.

Link to this function

on_shell(username, pubkey, ip, port)

View Source

User function callback to handle incoming shell requests.

Callback implementation for Sshd.ShellHandler.on_shell/4.