What Is SSH? A Step-by-Step Walkthrough of a Remote Login
This article explains the SSH protocol by tracing a remote login, covering the three protocol layers, Curve25519 key exchange, server host-key verification, encryption onset, forward secrecy, public-key authentication, channel multiplexing, and real-world debugging with ssh -v.