3com 5500-SI Manual De Usuario
SSH Terminal Services 201
■
The client authenticates information from the user at the server till the
authentication succeeds or the connection is turned off due to authentication
timeout.
authentication succeeds or the connection is turned off due to authentication
timeout.
SSH supports two authentication types: password authentication and RSA
authentication.
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.
locally. The user is allowed to log on to the Switch if the usernames and passwords
match exactly.
2 RSA authentication works in this way:
■
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.
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.
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.
exactly, the user is allowed to access the switch.
3 Session request stage. The client sends session request messages to the server which
processes the request messages.
4 Interactive session stage. Both ends exchange data till the session ends.
SSH Server
Configuration
Table 179 describes SSH server configuration tasks.
Table 179 Configure SSH 2.0 server
Serial
No Operation
No Operation
Command
Description
1
Configure supported
protocols
protocols
protocol inbound
Refer to “Configuring
supported protocols”
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
mode for SSH users
ssh user username
authentication-type
authentication-type
Refer to “Configuring
authentication type“
authentication type“
4
Set SSH authentication
timeout time
timeout time
ssh server timeout
Refer to “Configuring
server SSH attributes“
server SSH attributes“
Set SSH authentication retry
number
number
ssh server
authentication-retries
authentication-retries
5
Allocate public keys for SSH
users
users
ssh user username assign
rsa-key keyname
rsa-key keyname
Refer to “Configuring
client public keys“
client public keys“