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
z
As shown in
Figure 1-1
, 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
Содержание S7902E
Страница 82: ...1 4 DeviceA interface tunnel 1 DeviceA Tunnel1 service loopback group 1 ...
Страница 200: ...1 11 DeviceB display vlan dynamic No dynamic vlans exist ...
Страница 494: ...ii Displaying and Maintaining Tunneling Configuration 1 45 Troubleshooting Tunneling Configuration 1 45 ...
Страница 598: ...ii ...
Страница 1757: ...4 9 ...
Страница 1770: ...6 4 ...
Страница 2017: ...2 11 Figure 2 3 SFTP client interface ...
Страница 2062: ...i Table of Contents 1 URPF Configuration 1 1 URPF Overview 1 1 What is URPF 1 1 How URPF Works 1 1 Configuring URPF 1 2 ...
Страница 2238: ...1 16 DeviceA cfd linktrace service instance 1 mep 1001 target mep 4002 ...
Страница 2442: ...2 4 Set the interval for sending Syslog or trap messages to 20 seconds Device mac address information interval 20 ...