Stelnet Configuration Examples; Password Authentication Enabled Stelnet Server Configuration Example - HP 6125XLG Configuration Manual

Blade switch security configuration guide
Table of Contents

Advertisement

Task
Display SSH server status information or session
information on an SSH server.
Display SSH user information on the SSH
server.
Display the public keys of the local key pairs.
Display the public keys of the SSH peers.

Stelnet configuration examples

This section provides examples of configuring Stelnet on switches.
Unless otherwise noted, devices in the configuration examples are in non-FIPS mode.
Password authentication enabled Stelnet server configuration
example
Network requirements
As shown in
assigned the user role network-admin for configuration management. The switch acts as the Stelnet server
and uses password authentication. The username and password of the client are saved on the switch.
Figure 41 Network diagram
Stelnet client
192.168.1.56/24
Host
Configuration procedure
1.
Configure the Stelnet server:
# Generate the RSA key pairs.
<Switch> system-view
[Switch] public-key local create rsa
The range of public key size 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...
........................++++++
...................++++++
..++++++++
............++++++++
Create the key pair successfully.
Figure
41, you can log in to the switch through the Stelnet client that runs on the host and are
Vlan-int2
192.168.1.40/24
Command
display ssh server { session | status }
display ssh user-information [ username ]
display public-key local { dsa | rsa } public [ name
publickey-name ]
display public-key peer [ brief | name publickey-name ]
Stelnet server
Switch
140

Advertisement

Table of Contents
loading

Table of Contents