SSH Protocol (RFC 4251-4254)
Official docs outline
8 sections- Architecture
Three-layer SSH architecture: transport, user authentication, connection.
- Binary packet protocol
Packet format, encryption and MAC.
- Key exchange
Algorithm negotiation and Diffie-Hellman key exchange.
- Authentication protocol
Authentication requests, methods and failures.
- Public key authentication
Public key signature authentication.
- Connection protocol channels
Channel mechanism, flow control and requests.
- Session channels
Interactive sessions, pty requests, exec and subsystems.
- TCP/IP port forwarding
Local and remote port forwarding requests.
Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.