Operation Manual – SSH2.0
Quidway S3100 Series Ethernet Switches
Chapter 1 SSH Terminal Services
Huawei Technologies Proprietary
1-9
Operation
Command
Display SSH status and
session information
display ssh server
{
status
|
session
}
Display SSH user information
display ssh user-information
[
username
]
1.1.5 SSH Server Configuration Example
I. Network requirements
As shown in Figure 1-3, configure a local connection from the SSH client to the switch.
The PC runs the SSH2.0-supported client software.
II. Network diagram
SSH Client
Switch
SSH Server
PC
Switch
SSH Server
PC
SSH Client
Figure 1-3
Network diagram for SSH server configuration
III. Configuration procedure
1)
Generate a local RSA key pair.
<Quidway>system-view
[Quidway] rsa local-key-pair create
Note:
If the local RSA key pair has been generated in previous operations, skip this step here.
2)
Set authentication type.
Settings for the two authentication types are described respectively in the following:
z
Password authentication
z
# Set AAA authentication on the user interfaces.
[Quidway] user-interface vty 0 4
[Quidway-ui-vty0-4] authentication-mode scheme
# Set the user interfaces to support SSH.