Инструкции По Установке для 3com S7906E

Скачать
Страница из 2621
 
1-13 
To do… 
Use the command… 
Remarks 
Display SSH server status 
information or session 
information on an SSH server 
display ssh server { status | 
session } 
Available in any view 
Display the mappings between 
SSH servers and their host 
public keys saved on an SSH 
client 
display ssh server-info 
Available in any view 
Display information about a 
specified or all SSH users on 
the SSH server 
display ssh user-information 
username ] 
Available in any view 
Display the public keys of the 
local key pairs 
display public-key local { dsa 
rsa } public 
Available in any view 
Display the public keys of the 
SSH peers 
display public-key peer 
brief | name publickey-name ]
Available in any view 
 
 
For information about the display public-key local and display public-key peer commands, refer to 
Public Key Commands in the Security Volume
 
SSH Server Configuration Examples 
When Switch Acts as Server for Password Authentication 
Network requirements 
As shown in 
, a local SSH connection is established between the host (the SSH client) 
and the switch (the SSH server) for secure data exchange.  
Password authentication is required. The username and password are saved on the switch. 
Figure 1-1 Switch acts as server for password authentication 
SSH client
SSH server
Host
Switch
192.168.0.2/24
Vlan-int1
192.168.0.1/24
 
 
Configuration procedure 
1)  Configure the SSH server 
# Generate RSA and DSA key pairs and enable the SSH server. 
<Switch> system-view 
[Switch] public-key local create rsa 
[Switch] public-key local create dsa 
[Switch] ssh server enable