HomeCybersecuritySSH Key Exchange & Host Key Verification

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.

Cybersecurity3DModerate60 FPS
ssh-key-exchange-host-key-verification ↗ Open standalone

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.

⚙ Under the hood

3D simulator of SSH connection security: watch a real Diffie-Hellman key exchange derive a shared secret between client and server without transmitting it, then trigger a man-in-the-middle attack and see host-key fingerprint verification detect and block it.

Three.jsSSHDiffie-Hellmankey exchangehost key verificationman-in-the-middlecybersecurity

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)