Skip to content
HALOWERK

Codewerk

sshd audit

Parses sshd_config like sshd: case-insensitive keywords, "Keyword value" or "Keyword=value", quoted arguments, first obtained value wins for global settings, Match blocks evaluated separately, Include resolved only against supplied files. Defaults and keyword list come from sshd_config(5) (OpenBSD-current, 2026-10-09), e.g. PasswordAuthentication and KbdInteractiveAuthentication default yes, PermitRootLogin prohibit-password. Algorithms in Ciphers, MACs, KexAlgorithms, HostKeyAlgorithms,.

POST https://code.halowerk.com/v1/sshd-audit

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
configstringYesContent of sshd_config.
filesarrayNoAdditional files that include/import directives may reference (matched by path or glob; nothing is read from disk).
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "config"
  ],
  "properties": {
    "config": {
      "type": "string",
      "minLength": 1,
      "maxLength": 500000,
      "description": "Content of sshd_config."
    },
    "files": {
      "type": "array",
      "maxItems": 50,
      "description": "Additional files that include/import directives may reference (matched by path or glob; nothing is read from disk).",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "path",
          "content"
        ],
        "properties": {
          "path": {
            "type": "string",
            "minLength": 1,
            "maxLength": 300
          },
          "content": {
            "type": "string",
            "maxLength": 500000
          }
        }
      }
    }
  }
}

Open original schema

Published input example

{
  "config": "PermitRootLogin yes\nPasswordAuthentication yes\nCiphers aes128-ctr,3des-cbc\nMACs hmac-sha1\n"
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub โ†’