H3C S7500 Series Ethernet Switches Operation Manual

Operation Manual – SSH Terminal Service
H3C S7500 Series Ethernet Switches Chapter 1
SSH Terminal Service Configuration
1-9
Table 1-8 Display SSH configuration
To do... Use the command... Remarks
Display the public keys of the
host key pair and the server
key pair on the server
display rsa local-key-pair public
Display the public key of the
specified RSA key pair on the
client
display rsa peer-public-key [ brief
| name keyname ]
Display SSH status and
session information
display ssh server { status |
session }
Display SSH user information
display ssh user-information
[ username ]
Display the mappings
between host public keys and
SSH servers saved on a client
display ssh server-info
The display
commands
can be
executed in
any view.
1.1.5 SSH Server Configuration Example
I. Network requirements
As shown in Figure 1-1, the PC (SSH Client) runs the client software supporting
SSH2.0, establishes a local connection with the switch (SSH Server) and ensures the
security of data exchange.
II. Network diagram
SSH Server
SSH Client
Figure 1-1 Network diagram for SSH server configuration
III. Configuration procedure
1) Generate a local RSA key pair.
<H3C>system-view
[H3C] rsa local-key-pair create
Note:
If the local RSA key pair has been generated in previous operations, skip this step here.