Password Authentication Enabled Stelnet Server Configuration Example - HP 12500 Series Configuration Manual

Routing
Table of Contents

Advertisement

IMPORTANT:
By default, Ethernet interfaces, VLAN interfaces, and aggregate interfaces are in the state of DOWN. To
configure such an interface, use the undo shutdown command to bring it up first.
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.
Figure 71 Network diagram
Stelent client
192.168.1.56/24
Host
Configuration procedure
Configure the Stelnet server:
1.
# Generate the RSA key pairs.
<Switch> system-view
[Switch] public-key local create rsa
The range of public key size is (512 ~ 2048).
NOTES: If the key modulus is greater than 512,
It will take a few minutes.
Press CTRL+C to abort.
Input the bits of the modulus[default = 1024]:
Generating Keys...
++++++++
++++++++++++++
+++++
++++++++
# Generate a DSA key pair.
[Switch] public-key local create dsa
The range of public key size is (512 ~ 2048).
NOTES: If the key modulus is greater than 512,
It will take a few minutes.
Press CTRL+C to abort.
Input the bits of the modulus[default = 1024]:
Generating Keys...
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++
# Enable the SSH server function.
[Switch] ssh server enable
Figure
71, you can log in to the switch through the Stelnet client (SSH2) that runs on the host.
Vlan-int2
192.168.1.40/24
Stelnet server
Switch
223

Advertisement

Table of Contents
loading

Table of Contents