Files
bbs/docs/wiki/Configuration.md
T
Claude 41e16cd38b Add an SSH listener, with users' keys
[listen NAME] type = ssh serves the text BBS over SSH.  Users log in
with their BBS password (password or keyboard-interactive, throttled
and delayed as on a terminal) or with one of their public keys; the
user "new" gets the BBS's own prompt to sign up.  The pty's terminal
type and size go to the text BBS.  Commands, SFTP, forwarding and
second sessions are refused.

Host keys (ed25519 and RSA by default, beside the database) are made
0600 the first time and refused when others may read them; legacy = yes
adds CBC ciphers and group1 DH for old clients.

Keys live in a new ssh_keys table and are managed by bbs sshkey
add/list/del, the profile on the text BBS (after the password again),
and /api/v1/me/keys (from a login's session only, not an API key).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
2026-10-11 21:42:16 +00:00

2.3 KiB

bbs.conf.sample has every option. [general] is the system (name, database, log, banner, message of the day, timeouts, limits); each [listen NAME] is a port or unix socket:

type what comes in
telnet a telnet client; with tn3270 = yes (the default) 3270s get 3270 screens
raw bytes as they come: app_dmodem's mode = tcp, a modemmenu tcp or unix item
rlogin RFC 1282, as modemmenu's rlogin items speak it
ssh SSH: the text BBS, logged in by password or key (SSH)

address is host:port, or a path for a unix socket (socket_mode, socket_group). Any listener may read a session header first (header = yes), and with trust_user = yes take the caller as logged in already: see Modem callers (not ssh, which logs its callers in itself).

The sections

section what page
[general] the system: name, sysop, database, log, banner, message of the day, logo, new users, limits, timeouts, file areas' directory and limits here, Security
[listen NAME] a port or socket callers come in on here, Modem callers, TN3270
[ftp] the FTP server for the file areas Files and FTP
[news], [nntp], [peer NAME] newsgroups, the NNTP server, news peers Newsgroups and NNTP
[fido], [binkp], [link NAME] FidoNet: our address, the binkp mailer, links FidoNet
[door NAME] a door program Doors
screens_dir (in [general]), [menu NAME], [strings] the sysop's screens, menus and prompts Customization
[finger], [gopher] the finger and gopher servers Finger and gopher
[http] the HTTP API, its WebSockets and metrics HTTP API
page_command (in [general]) telling the sysop of a page when they are not on Chat and paging

bbs check reads the file and says what it found, with a warning for anything risky (a password that may cross in the clear, a socket that trusts whoever connects, a link without a password).

See also: Modem callers, TN3270, Security