SSH Key Exchange & Host Key Verification
Interactive 3D SSH protocol simulator: watch Diffie-Hellman key exchange derive a shared secret between client and server, then trigger a man-in-the-middle attack and see host-key fingerprint verification catch it.
This simulator visualizes the two cryptographic mechanisms that make SSH connections trustworthy: Diffie-Hellman key exchange, which lets a client and server agree on a shared secret over a public channel without ever transmitting it, and host key verification, which protects against man-in-the-middle attacks by fingerprinting the server's identity. 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.
Simulate an SSH key exchange, watch Diffie-Hellman derive a shared secret, and trigger a MITM attack to see host key verification in action.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install