About Servers
ENiGMA½ runs two kinds of server, and the distinction matters because they are configured in different blocks and do different jobs.
Login Servers
Section titled “Login Servers”A login server is a way for a person to reach your board — it carries a
terminal session, hands the user to a first menu, and from there they are on the
BBS. Configured under loginServers in config.hjson.
| Server | Default port | Notes |
|---|---|---|
| Telnet | 8888 | Enabled by default. Not secure — credentials cross the wire in the clear |
| SSH | 8889 | Encrypted, supports public key authentication. Needs a host key generated first |
| WebSocket | 8810 / 8811 | Browser access, paired with a client such as VTX |
Features that require a secure connection — 2FA/OTP enrolment, uploading an SSH public key — are available over SSH and secure WebSocket, and deliberately blocked over plain Telnet.
Limiting Connections
Section titled “Limiting Connections”general.maxConnections caps how many callers can be on at once, across every
login server (0, the default, means no limit). A caller who connects while
the board is full is not given a node, and is turned away with
All nodes are busy. Try again later…, or the text of an optional
BUSY.ASC art file in the pre-login theme, the default theme or
art/general (see
Busy Message):
- Telnet: the message, then the connection is closed.
- SSH: there is no terminal before login, so the message is shown at the
login stage (keyboard-interactive, with no prompt), then the connection is
closed. Whether the caller sees it is up to the client. OpenSSH shows it
only when it has a terminal: run without one (
ssh host command, a script,BatchMode) it hides the text unless run with-v, and the caller sees only the disconnect or “Permission denied”. A client that does not do keyboard-interactive is disconnected without the message. A refused connection is ended after 10 seconds whatever it is doing, and its socket closed outright 2 seconds after that if the caller has not closed it. - WebSocket: the message, then the WebSocket is closed with code 1013 (Try Again Later).
Each refusal is logged at info level (“All nodes are busy; refusing
connection”). A caller who is turned away never takes a node, not even while
the SSH message is being shown. A caller who is let in takes one as soon as it
connects; over SSH that is before it has logged in, so an SSH connection that
has not reached the shell within loginServers.ssh.loginTimeoutSeconds (120 by
default) is disconnected and its node freed; see
SSH Login Timeout.
general: { maxConnections: 10}Content Servers
Section titled “Content Servers”A content server exposes parts of the board without a terminal session —
message areas to a newsreader, files to a browser, your system to the Fediverse.
Configured under contentServers.
| Server | Default port | Exposes |
|---|---|---|
| Web | 8080 / 8443 | Temporary file download links, password reset pages, static files, and the routes other handlers register |
| Gopher | 8070 | Message conferences and areas, plus anything in your Gopher hole |
| NNTP | 8119 / 8563 | Message conferences and areas to newsreaders |
Two further pieces build on the web server rather than standing alone: the REST API, and the web handlers that add routes — including WebFinger and ActivityPub for Fediverse federation.
Which Do I Need?
Section titled “Which Do I Need?”At minimum, one login server, or nobody can call. Everything under content servers is opt-in, and every one of them defaults to disabled.
The one that repays enabling early is the web server: password reset links and temporary file download URLs both depend on it, and those are features users notice missing.