Displaying and maintaining ssh, Stelnet configuration examples, Network requirements – H3C Technologies H3C SecBlade LB Cards User Manual
Page 182
171
Displaying and maintaining SSH
Task Command
Remarks
Display the source IP address or
interface configured for the SFTP
client.
display sftp client source [ | { begin | exclude
| include } regular-expression ]
Available in any view.
Display the source IP address or
interface information configured for
the Stelnet client.
display ssh client source [ | { begin | exclude
| include } regular-expression ]
Available in any view.
Display SSH server status
information or session information
on an SSH server.
display ssh server { status | session } [ |
{ begin | exclude | include }
regular-expression ]
Available in any view.
Display the mappings between
SSH servers and their host public
keys on an SSH client.
display ssh server-info [ | { begin | exclude |
include } regular-expression ]
Available in any view.
Display information about one or
all SSH users on an SSH server.
display ssh user-information [ username ] [ |
{ begin | exclude | include }
regular-expression ]
Available in any view.
Display the public keys of the local
key pairs.
display public-key local rsa public [ | { begin
| exclude | include } regular-expression ]
Available in any view.
Display the public keys of the SSH
peers.
display public-key peer [ brief | name
publickey-name ] [ | { begin | exclude |
include } regular-expression ]
Available in any view.
Stelnet configuration examples
This section provides examples of configuring Stelnet.
Password authentication enabled Stelnet server configuration
example
Network requirements
As shown in
, you can log in to the LB through the Stelnet client (SSH2) that runs on the host. The
LB acts as the Stelnet server and uses password authentication. The username and password of the client
are saved on the LB.
Figure 74 Network diagram
Stelnet client
Stelnet server
Host
LB
192.168.1.56/24
GE0/1
192.168.1.40/24