6 how ssh works, Figure 248 ssh communication example, Figure 249 how ssh works – ZyXEL Communications 5 Series User Manual
Page 460

ZyWALL 5/35/70 Series User’s Guide
460
Chapter 26 Remote Management
Figure 248 SSH Communication Example
26.6 How SSH Works
The following table summarizes how a secure connection is established between two remote
hosts.
Figure 249 How SSH Works
1 Host Identification
The SSH client sends a connection request to the SSH server. The server identifies itself
with a host key. The client encrypts a randomly generated session key with the host key
and server key and sends the result back to the server.
The client automatically saves any new server public keys. In subsequent connections,
the server public key is checked against the saved version on the client computer.
2 Encryption Method
Once the identification is verified, both the client and server must agree on the type of
encryption method to use.
3 Authentication and Data Transmission