Client Server Attacker (MITM) Shared secret packet

SSH Key Exchange & Host Key Verification (2D)

This 2D companion drives the same real Diffie-Hellman math and TOFU host-key check as the 3D version, on a flat top-down canvas: run a normal connection to watch both sides derive the same secret, or simulate an attacker inserting themselves between client and server to see the client's fingerprint check catch the impostor.