SSH encrypts a remote shell or file copy. Keys replace repeated passwords: a private key stays on your machine; the server stores the public half. This lesson covers key generation, `authorized_keys`, agents, and pitfalls like forwarding.
Widgets: comparison table contrasts password vs key auth for ops concerns. Graph shows where trust is stored (client private key vs server authorized_keys). Code explorer walks through keygen → install → permissions → agent. Tabbed code covers multi-host config and host-key trust.
Graph: center is sshd. Your private key never leaves the laptop—it only signs a challenge. The server only ever saw the public line copied into authorized_keys. Compromise of the server does not leak your private key file back from disk (unless you forward the agent unwisely).