Инструкции По Установке для 3com S7906E
1-13
To do…
Use the command…
Remarks
Display SSH server status
information or session
information on an SSH server
information or session
information on an SSH server
display ssh server { status |
session }
session }
Available in any view
Display the mappings between
SSH servers and their host
public keys saved on an SSH
client
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
specified or all SSH users on
the SSH server
display ssh user-information
[ username ]
[ username ]
Available in any view
Display the public keys of the
local key pairs
local key pairs
display public-key local { dsa
| rsa } public
| rsa } public
Available in any view
Display the public keys of the
SSH peers
SSH peers
display public-key peer
[ brief | name publickey-name ]
[ 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
z
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.
z
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