3Com 5500-SI Switch User Manual


 
200 CHAPTER 15: SSH TERMINAL SERVICES
Figure 48 Establish SSH channels through WAN
The communication process between the server and client includes these five stages:
1 Version negotiation stage. These operations are completed at this stage:
The client sends TCP connection requirement to the server.
When TCP connection is established, both ends begin to negotiate the SSH
version.
If they can work together in harmony, they enter the key algorithm negotiation
stage. Otherwise the server clears the TCP connection.
2 Key algorithm negotiation stage. These operations are completed at this stage:
The server randomly generates its RSA key and sends the public key to the client.
The client figures out session key based on the public key from the server and the
random number generated locally.
The client encrypts the random number with the public key from the server and
sends the result back to the server.
The server then decrypts the received data with the server private key to get the
client random number.
The server then uses the same algorithm to work out the session key based on
server public key and the returned random number.
Then both ends get the same session key without data transfer over the network,
while the key is used at both ends for encryption and decryption.
3 Authentication method negotiation stage. These operations are completed at this
stage:
The client sends its username information to the server.
The server authenticates the username information from the client. If the user is
configured as no authentication on the server, authentication stage is skipped and
session request stage starts directly.
Local Switch
Local Ethernet
WAN
Server
PC
SSH-Client
PC
Laptop
Laptop
PC
Laptop
Laptop
Workstation
Workstation
Remote Ethernet
Remote Switch
ssh-server
Server
Local Switch
Local Ethernet
WAN
Server
PC
SSH-Client
PC
Laptop
Laptop
Local Switch
Local Ethernet
WAN
Server
PC
SSH-Client
PC
Laptop
Laptop
PC
Laptop
Laptop
Workstation
Workstation
Remote Ethernet
Remote Switch
ssh-server
Server