3Com Switch 4200G Configuration Guide

SSH Terminal Services 311
SSH supports two authentication types: password authentication and RSA
authentication.
(1) Password authentication works as follows:
The client sends its username and password to the server.
The server compares the username and password received with those configured
locally. The user is allowed to log on to the Switch if the usernames and passwords
match exactly.
(2) RSA authentication works as follows:
Configure the RSA public key of the client user at the server.
The client sends the member modules of its RSA public key to the server.
The server checks the validity of the member module. If it is valid, the server
generates a random number, which is sent to the client after being encrypted with
RSA public key of the client.
Both ends calculate authentication data based on the random number and session
ID.
The client sends the authentication data calculated back to the server.
The server compares it with its authentication data obtained locally. If they match
exactly, the user is allowed to access the switch.
4 Session request stage. The client sends session request messages to the server which
processes the request messages.
5 Interactive session stage. Both ends exchange data till the session ends.
SSH Server
Configuration
Table 263 describes SSH server configuration tasks.
Table 263 Configure SSH2.0 server
Serial
No
Operation Command Remarks
1 Configure supported
protocols
protocol inbound Refer to “Configuring
supported protocols”
2 Generate a local RSA key pair rsa local-key-pair create Refer to “Generating or
destroying RSA key
pairs”
Destroy the local RSA key pair rsa local-key-pair destroy
3 Configure authentication
mode for SSH users
ssh user username
authentication-type
Refer to “Configuring
authentication type “
4 Set SSH authentication
timeout time
ssh server timeout Refer to “Configuring
server SSH attributes “
Set SSH authentication retry
times
ssh server
authentication-retries
5 Allocate public keys for SSH
users
ssh user username assign
rsa-key keyname
Refer to “Configuring
client public keys “