Skip to content
Faith Forge LabsJordan

Give the next maintainer a way to verify the server's identity

A handover can include a hostname and an authorised account while leaving a basic question unanswered: how will the incoming maintainer know that the server presenting itself is the expected one?

This fictional exercise concerns an organisation's own managed host. The intended maintainer has appropriate account access, but has not connected from the new workstation before. The rehearsal establishes an independently approved host-key reference and a procedure for a mismatch. It is not an instruction to connect to an unknown system.

Separate account authority from endpoint identity

The organisation authorises maintainer M-5 to perform a bounded maintenance task on host H-2. The handover identifies the hostname, port, account purpose and environment. A successful account login would establish one relationship; the host key is part of verifying which endpoint is being contacted.

On a first connection, the client presents a key fingerprint that M-5 has not previously recorded. Repeating that fingerprint from the same unverified connection would not provide an independent reference.

The OpenSSH manual's host-key guidance describes comparing a presented fingerprint with a known value before accepting or rejecting it. The organisation therefore supplies the expected fingerprint through a separately authenticated, approved management channel for H-2.

Establish the expected value through the right channel

In this inspected hosting arrangement, the authorised owner can view the host's public-key fingerprint in the authenticated management console. The owner confirms the exact host, environment and key type, then records the full fingerprint in the controlled handover record. The example calls it fingerprint F-A; the real record must contain the complete value rather than this shorthand.

M-5 accesses that approved record through the organisation's established channel and compares the complete presented value and key type. The expected H-2 endpoint presents F-A. The maintainer accepts it under the agreed procedure, and the client's known-host record retains the association.

The handover does not disable host-key checking to make the first connection convenient. It also does not treat possession of the maintenance account's private key as evidence that any server accepting it must be the intended host.

Rehearse the mismatch without proceeding

The controlled exercise next presents a different fingerprint, F-B, for the H-2 destination. The approved record still expects F-A and there is no authorised change record. M-5 stops and escalates the mismatch instead of deleting the previous association and accepting the replacement automatically.

The owner investigates through the approved management channel. The rehearsal records that no maintenance session proceeds on the basis of the unexplained F-B value. The test demonstrates the stop decision; it does not diagnose every possible cause of a mismatch.

The ordinary expected-key path is repeated as a control. H-2 with F-A remains recognised, and the bounded maintenance task can proceed within M-5's authorised account scope. An unrelated test host keeps its own known-host association.

Make legitimate rotation a documented change

A later authorised host-key rotation is a different situation from an unexplained prompt. The organisation records the reason, affected host and environment, approved replacement fingerprint F-C, and the people responsible for the change.

The incoming maintainer verifies F-C through the same independent management route. Only then is the relevant known-host association updated under the approved procedure. The earlier value and change record remain available for the organisation's operational history. Other host entries are left alone.

This is a supported process for the fictional hosting setup. Some environments use managed host certificates or another approved verification method; the handover must describe the actual arrangement rather than force this example onto every platform.

Finish with evidence the successor can use

The completed handover contains the intended endpoint, environment, key type, full approved fingerprint, verification channel, authorised task and mismatch contact. It also explains how a legitimate rotation is communicated and verified.

The useful result is that M-5 can distinguish expected access from an unresolved identity change without relying on the previous maintainer's memory. Account ownership, credentials, source code and recovery remain separate handover subjects, each with its own purpose and evidence.

Discuss maintenance responsibilities · Prepare the project brief