381
Task Command
the Stelnet client.
Display SSH server status or sessions.
display ssh server
{
session
|
status
}
Display SSH user information on the SSH
server.
display ssh user-information
[
username
]
Display the public keys of the local key pairs.
display public-key local
{
dsa
|
ecdsa
|
rsa
}
public
[
name publickey-name
]
Display information about peer public keys.
display public-key peer
[
brief
|
name publickey-name
]
Display algorithms used by SSH2 in the
algorithm negotiation stage.
display ssh2 algorithm
Stelnet configuration examples
Unless otherwise noted, devices in the configuration examples operate in non-FIPS mode.
When the device acts as an Stelnet server operating in FIPS mode, only ECDSA and RSA key pairs
are supported. Do not generate a DSA key pair on the Stelnet server.
Password authentication enabled Stelnet server
configuration example
Network requirements
As shown in
:
•
The switch acts as the Stelnet server and uses password authentication.
•
The username and password of the client are saved on the switch.
Establish an Stelnet connection between the host and the switch, so you can log in to the switch to
configure and manage the switch.
Figure 99 Network diagram
Configuration procedure
1.
Configure the Stelnet server:
# Generate RSA key pairs.
<Switch> system-view
[Switch] public-key local create rsa
The range of public key modulus is (512 ~ 2048).
If the key modulus is greater than 512, it will take a few minutes.
Press CTRL+C to abort.
Input the modulus length [default = 1024]:
Generating Keys...
........................++++++
...................++++++
Vlan-int2
192.168.1.40/24
Stelnet client
Stelnet server
Host
192.168.1.56/24
Switch
Содержание FlexFabric 5940 SERIES
Страница 251: ...238 ...