Skip to main content

Crate cliban_server

Crate cliban_server 

Source
Expand description

cliban-server: russh-based SSH daemon (cliband) for hosted shared boards.

Modules§

commands
Control-command router for exec requests (ssh host <cmd>).
config
cliband daemon configuration, loaded from a TOML file.
hostkey
Ed25519 host key: generated on first boot, persisted under the data dir.
server
russh server plumbing: pubkey auth against the tenancy registry + per-session handlers. Exec routes to the control-command router; shell serves the board TUI to enrolled keys over the channel (picker first when a key belongs to several tenants).
shell
Board-over-SSH: bridge one russh channel to the blocking cliban-tui event loop on a dedicated blocking task.

Enums§

ServerError
One error enum for the whole crate — config load, key handling, io.