Architecture of an SSH System

SSH has about a dozen distinct, interacting components that produce the features we've covered. ["Overview of Features"] Figure 3-1 illustrates the major components and their relationships to one another. Figure 3-1

Figure 3-1. SSH architecture

By "component" we don't necessarily mean "program:" SSH also has keys, sessions, and other fun things. In this section we provide a brief overview of all the components, so you can begin to get the big picture of SSH: Not all these components are required in an implementation of SSH. Certainly servers, clients, and keys are mandatory, but many implementations don't have an agent, and some even don't include a key generator.