3Com Switch 7750 Configuration Guide
774 CHAPTER 71: SSH TERMINAL SERVICES
■ Password authentication works as follows: The client sends a password
authentication request carrying the encrypted username and password to the
server. The server decrypts the request to obtain the username and password in
plain text, and matches the username and password against those configured
on itself. Then, it returns the authentication result according to the matching
result.
■ RSA authentication works as follows: The client sends an RSA authentication
request carrying the username, public key and public key algorithm to the
server. The server checks the validity of the public key. If the key is invalid, the
server returns an authentication failure message directly; otherwise, the server
authenticates the client and returns the authentication result to the client.
4 Session request stage. After successful authentication, the client sends session
request messages to the server. The server processes the request messages.
5 Interactive session stage. Both ends exchange data till the session ends.
SSH Server
Configuration
The following table describes SSH server configuration tasks.
Configuring supported protocols
Table 608 Configure SSH2.0 server
Configuration Keyword Description
Configure supported
protocols
protocol inbound Refer to “Configuring
supported protocols” on
page 774
Generate a local RSA key pair rsa local-key-pair create Refer to “Generating or
destroying RSA key pairs” on
page 775
Destroy a local RSA key pair rsa local-key-pair destroy
Create an SSH user ssh user username Refer to “Creating an SSH
user” on page 776.
Specify a default
authentication type for SSH
users
ssh authentication-type
default
Refer to “Configuring
authentication type” on page
776
Configure authentication
type for SSH users
ssh user username
authentication-type
Set SSH authentication
timeout time
ssh server timeout Refer to “Configuring server
SSH attributes” on page 777
Set SSH authentication retry
times
ssh server
authentication-retries
Set the update interval for the
server key
ssh server rekey-interval
Specify the server compatible
with the SSH1.x
version-supported client.
ssh server compatible-ssh1x
enable
Allocate public keys for SSH
users
ssh user username assign
rsa-key keyname
Refer to “Configuring a
Client Public Key” on page
777
Table 609 Configure supported protocols
Operation Command Description
Enter system view system-view -