Publickey Authentication Enabled Stelnet Client Configuration Example - HPE FlexNetwork 5510 HI Series Security Configuration Manual

Hide thumbs Also See for FlexNetwork 5510 HI Series:
Table of Contents

Advertisement

Username: client001
Press CTRL+C to abort.
Connecting to 192.168.1.40 port 22.
The server is not authenticated. Continue? [Y/N]:y
Do you want to save the server public key? [Y/N]:y
client001@192.168.1.40's password:
Enter a character ~ and a dot to abort.
******************************************************************************
* Copyright (c) 2010-2016 Hewlett Packard Enterprise Development LP
* Without the owner's prior written consent,
* no decompiling or reverse-engineering shall be allowed.
******************************************************************************
<SwitchB>
After you enter the correct password, you can log in to Switch B successfully. The server's
host public key is saved on the client. At the next connection attempt, the system will not
notify you to authenticate the server.
Publickey authentication enabled Stelnet client configuration
example
Network requirements
As shown in
You can log in to Switch B through the Stelnet client that runs on Switch A.
After login, you are assigned the user role network-admin for configuration management.
Switch B acts as the Stelnet server and uses publickey authentication and the DSA public key
algorithm.
Figure 105 Network diagram
Stelnet client
Vlan-int2
192.168.1.56/24
Switch A
Configuration procedure
In the server configuration, the client public key is required. Use the client software to generate a
DSA key pair on the client before configuring the Stelnet server.
1.
Configure the Stelnet client:
# Assign an IP address to VLAN-interface 2.
<SwitchA> system-view
[SwitchA] interface vlan-interface 2
[SwitchA-Vlan-interface2] ip address 192.168.1.56 255.255.255.0
[SwitchA-Vlan-interface2] quit
# Generate a DSA key pair.
[SwitchA] public-key local create dsa
The range of public key size is (512 ~ 2048).
Figure
105:
Vlan-int2
192.168.1.40/24
Stelnet server
Switch B
365
*
*
*

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents