3com 4210 PWR 9-Port 3CR17341-91-ME ユーザーズマニュアル

製品コード
3CR17341-91-ME
ページ / 567
406
C
HAPTER
 36: SSH C
ONFIGURATION
Displaying SSH 
Configuration
After the above configuration, you can execute the display command in any view 
to display the configuration information and running status of SSH, so as to verify 
your configuration.
SSH Configuration 
Examples
When the Switch Acts as 
the SSH Server and the 
Authentication Type is 
Password
Network requirements
As shown in Figure 130, establish an SSH connection between the host (SSH 
Client) and the switch (SSH Server) for secure data exchange. The host runs 
SSH2.0 client software. Password authentication is required.
Network diagram
Figure 130   Network diagram of SSH server configuration using password authentication
Configuration procedure
Configure the SSH server
# Create a VLAN interface on the switch and assign an IP address, which the 
SSH client will use as the destination for SSH connection.
<4210> system-view
 
[4210] interface vlan-interface 1
 
[4210-Vlan-interface1] ip address 192.168.0.1 255.255.255.0
 
[4210-Vlan-interface1] quit 
n
Generating the RSA and DSA key pairs on the server is prerequisite to SSH login. 
Table 317   Display SSH configuration
Operation 
Command 
Description 
Display host and server public 
keys 
display rsa local-key-pair 
public
 
You can execute the display 
command in any view. 
Display client RSA public 
key(s) 
display rsa peer-public-key 
brief | name keyname ] 
Display local public key(s) 
display public-key local { 
dsa | rsa } public 
Display remote public key(s) 
display public-key peer [ 
brief | name pubkey-name ] 
Display SSH status and session 
information 
display ssh server { session | 
status } 
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 
Switch 
SSH Client
192 .168 .0 .2/24
VLAN-Interface 1
192.168.0.1/24