Summary

  • RFC 9644 gives operators a shared YANG vocabulary for SSH algorithm capability and ordered policy — but it never defines a per-session record of what was actually negotiated.
  • A defensible claim must chain registry and model revision, implementation capability, approved configuration, both peers' live offers, directional selections, host identity, NEWKEYS, authentication and the application result.
  • The receipt is an operating control, not an RFC requirement: where an observation is missing, the conclusion must narrow — never get filled in by assumption.

The green diff stops too early

Picture the change review after an SSH hardening sprint. Four artefacts land on the table: an IANA name, a generated YANG enumeration, a capability readout, and a signed configuration change. All four are accurate. All four leave the real question untouched — the one leadership believed it had commissioned: what actually protected the session that mattered?

That gap is not a flaw in RFC 9644. The document defines reusable ietf-ssh-common, ietf-ssh-client and ietf-ssh-server groupings, plus generated modules for IANA-maintained algorithm enumerations. It gives every implementation a consistent way to express policy. It never promised to be a session recorder, a peer-identity verdict, or an application monitor.

The distinction matters because four statements that sound alike carry wildly different evidential weight:

  1. an algorithm name exists in an IANA registry;
  2. an implementation reports it supports the algorithm;
  3. a configuration permits the algorithm, in a particular order;
  4. a particular connection negotiated the algorithm.

The first is vocabulary. The second is capability. The third is intent. Only the fourth is an event — and even that event does not prove the intended peer was authenticated or the intended operation completed.

A registry is an address book, not an endorsement

RFC 9644 generates four YANG enumeration modules from IANA's SSH registries. When the source registries change, the generated modules gain a revision and reflect the new names and statuses. Unassigned and reserved values are dropped. The arrangement keeps the public registry and the YANG client from drifting apart.

It does not turn registration into a security recommendation. IANA registries hold current, historical and differently classified entries. Requirement levels shift — RFC 9142 shows exactly that for key-exchange methods — while a registered identifier stays perfectly recognisable. A control system therefore has to retain both the source registry snapshot and the policy decision that allowed or rejected a value. “Registered” and “approved here, now” are not synonyms.

The generated-module revision matters just as much. Without it, an audit can prove a list of names was accepted but not which public vocabulary the implementation and controller believed they shared. The first link in the receipt should name the IANA snapshot, the generated module revision or digest, and any implementation deviation that bends the exposed schema.

Support is not permission

RFC 9644's optional algorithm-discovery feature exposes supported-algorithms as operational, config false data. That is valuable inventory. It can tell you whether a device claims it can use a candidate key-exchange, host-key, encryption or MAC algorithm.

Capability is not permission. An implementation may support an algorithm the organisation forbids. Nor is capability use: the algorithm may be missing from the configured list, lose to a more preferred common value, or never meet a compatible peer. The capability observation also needs a timestamp and an implementation identity, because software upgrades, build options and feature declarations move it.

The inverse case is the dangerous one. RFC 9644 lets an algorithm list be absent or empty, in which case the acceptable set is implementation-defined. An empty list must never be rendered as a universal default. The receipt has to capture the implementation's effective behaviour — or admit the permitted set could not be determined.

Ordered policy is only one side of the exchange

The transport-params-grouping holds ordered lists for key exchange, host keys, encryption and MACs. Order carries intent: preference is not decoration. A policy receipt should preserve the exact ordered values, the configuration revision, the approving actor and the accepting device. Sorting the list for a tidy report destroys information.

Yet an SSH choice is made with a peer. Under RFC 4253, each side sends SSH_MSG_KEXINIT name-lists. The selection follows client preference among values the server also offers, subject to the key-exchange method's host-key requirements. Encryption and MACs are chosen separately for client-to-server and server-to-client traffic. A single undirected field like “cipher: approved” throws away half the protocol result.

That creates a hard evidence boundary. A configuration system knows what it meant to permit. It usually does not know the other peer's live offer. A session observer, or the SSH implementation itself, must supply that event evidence. If no acceptable intersection exists, the connection dies — accepting the configuration never made an operational session inevitable.

The host-key field does not settle identity

Algorithm negotiation and peer identity are related but not interchangeable. A negotiated host-key algorithm describes a procedure. The receipt still has to identify the host key actually presented and the validation decision applied to it. RFC 8332 sharpens the point: an RSA public-key format can serve more than one RSA signature algorithm. “An RSA key existed” tells an auditor nothing about whether rsa-sha2-256 or rsa-sha2-512 was used.

RFC 9644 separately models client identity and server-authentication parameters, including references to keystore and truststore material. That separation is operationally honest. A server may offer an allowed host-key algorithm yet present an unexpected key. A known host key may be used under an algorithm the policy never intended. And a successful host check still says nothing about whether the client later authenticated or was authorised to do the work.

The receipt should carry the host-key fingerprint, validation basis and result — without confusing those fields with the algorithm name. It should also record uncertainty. If a monitoring point can see negotiation but not the trust decision inside the client, it reports the former and must leave the latter unresolved.

NEWKEYS is a boundary, not a decoration

RFC 4253's SSH_MSG_NEWKEYS activates the freshly computed keys and algorithms. A trace that stops at two compatible KEXINIT offers has not proved the cryptographic transition completed. Conversely, a transport that reaches NEWKEYS has not proved user authentication: RFC 4252 puts that decision above the transport layer.

This is why a useful receipt is a chain, not a badge:

  • registry snapshot and generated YANG module revision;
  • implementation, feature and deviation set;
  • time-stamped capability observation;
  • exact ordered configuration and approval identity;
  • protected hashes or captures of both KEXINIT offers;
  • negotiated key-exchange, host-key, encryption and MAC values, direction retained;
  • presented host-key fingerprint and validation decision;
  • evidence that NEWKEYS completed;
  • client-authentication method and result, credentials unexposed;
  • application operation, acceptance criterion and result.

No cited RFC mandates this unified record. It is an operating design derived from the boundaries among configuration, protocol and service — and that qualification keeps the control from borrowing authority it does not have.

The minimum claim should survive missing evidence

Lu Heng's minimum-initial-specification principle earns its keep here: it forces the organisation to decide which sentence it must be able to support before it builds an elaborate control plane. A sane minimum is not “the device is secure.” It is narrower — for a named operation and time window, the organisation can link the approved policy to the session's observed choices, the validated peer and the operation's outcome.

Running-code primacy supplies the ordering. The registry and the YANG model define a symbolic layer shared by controllers and devices. The actual exchange constrains that symbolism. When the two disagree, the operational observation governs the claim about what happened — and the disagreement becomes an incident to investigate.

This is also why the receipt must be explicit about gaps. If only configuration evidence exists, the defensible statement is “the policy was accepted.” If KEXINIT and NEWKEYS are observed but host validation is not, the statement covers algorithm activation but not peer identity. If transport and identity are proven but the application result is missing, service delivery stays unproven.

Sources

  1. Minimum initial specification
  2. Reality layers and symbolic power
  3. Running-code primacy
  4. RFC 9644 datatracker record
  5. RFC 9644 information page
  6. RFC 9644 HTML
  7. RFC 9644 plain text
  8. RFC 9644 XML
  9. RFC 9644 inline errata
  10. IANA Secure Shell protocol parameters
  11. IANA YANG parameters
  12. RFC 4250: SSH protocol assigned numbers
  13. RFC 4252: SSH authentication protocol
  14. RFC 4253: SSH transport layer protocol
  15. RFC 6187: X.509v3 certificates for SSH
  16. RFC 8332: RSA keys with SHA-2 signatures
  17. RFC 9142: SSH key-exchange method updates
  18. RFC 7950: YANG 1.1
  19. RFC 8341: network configuration access control
  20. RFC 8342: network management datastore architecture