Articles
High Level Design
Technology Deep Dive
SSH
Overview
๐Ÿ”

SSH

SSH from first principles โ€” a visual course covering architecture, the cryptography behind it, key exchange, authentication, keys and the agent, config and tunneling, security, and an end-to-end walkthrough.

8 Modules
๐Ÿ“ Modules

Module 01 โ€” Foundations & Architecture

Why SSH exists and how its three protocol layers stack on TCP to deliver confidentiality, integrity, and authentication.

Aug 19, 20269 min read

Module 02 โ€” Cryptography Behind SSH

The five cryptographic primitives SSH assembles into a secure channel โ€” symmetric, asymmetric, hashing, MAC/AEAD, and signatures.

Aug 19, 202611 min read

Module 03 โ€” Key Exchange & Session Keys

How Diffie-Hellman and ECDH derive a shared secret over a watched network, then expand it into six directional session keys.

Aug 19, 202610 min read

Module 04 โ€” Authentication: Host and User

How SSH verifies the server via its host key (defeating MITM) and proves the user with passwords or public-key signatures.

Aug 19, 202611 min read

Module 05 โ€” Keys and the Agent

What's stored inside SSH keys, how to generate and protect them, and how ssh-agent signs without exposing the private key.

Aug 19, 20269 min read

Module 06 โ€” Config, Channels and Tunneling

Client/server configuration, the channel abstraction that multiplexes one connection, and how -L/-R/-D port forwarding works.

Aug 19, 202610 min read

Module 07 โ€” Security and Troubleshooting

Which attacks each SSH layer defends against, a hardening checklist, and a layer-by-layer method for debugging failures.

Aug 19, 20269 min read

Module 08 โ€” Complete Walkthrough

An end-to-end trace of a single ssh command โ€” every packet and crypto operation from DNS to the remote shell prompt.

Aug 19, 202610 min read