com.limdm.ssh (list), com.limdm.banner¶
Console: SSH server options and Login banner.
{"options": {"AllowGroups": "ssh-users", "Banner": "/etc/issue.net"}}
{"issue": "Authorized use only.", "motd": "Managed by IT."}
| Field | Type | Rules |
|---|---|---|
options (ssh) |
object of text | allowed options only, values up to 200 characters of letters, digits, space and , @ . _ : / * - |
issue (banner) |
text | up to 4096 characters, no control characters except newline and tab |
motd (banner) |
text | same |
SSH options merge by key (a later item wins). Only sshd options that cannot weaken the
compliance baseline are accepted: AllowGroups, AllowUsers, DenyGroups, DenyUsers,
Banner, MaxSessions, MaxStartups, LogLevel, Port, ListenAddress,
AuthorizedKeysFile, TrustedUserCAKeys, AuthorizedPrincipalsFile, Ciphers, MACs,
KexAlgorithms, HostKeyAlgorithms and PubkeyAcceptedAlgorithms. PermitRootLogin and
similar are rejected. They go to /etc/ssh/sshd_config.d/02-limdm-custom.conf, after the
compliance drop in, so sshd keeps the baseline value where both set one. Changes are tested
with sshd -t and rolled back on error; sshd is reloaded afterwards. A device without an SSH
server reports the declaration as failed.
The banner writes issue to /etc/issue and /etc/issue.net and motd to /etc/motd. An
empty field leaves its file alone.
Field reference¶
Generated from the payload schema of the server (GET /api/v1/schemas/{type}), the same reference the console editor shows. Unknown fields are rejected.
com.limdm.ssh¶
Console: SSH server options. SSH server options that cannot weaken the baseline.
| Field | Type | Meaning | Limits |
|---|---|---|---|
options |
map of string | Options sshd_config option and value; options that weaken the baseline are refused. |
com.limdm.banner¶
Console: Login banner. Text shown before login on the console, over SSH and on the login screen.
| Field | Type | Meaning | Limits |
|---|---|---|---|
issue |
string | Before login Shown on the console, over SSH and on the login screen. | |
motd |
string | After login Message of the day. |