Publickey Authentication Enabled Stelnet Client Configuration Example - HP MSR Series Configuration Manual

Hpe flexnetwork msr router series
Hide thumbs Also See for MSR Series:
Table of Contents

Advertisement

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-2015 Hewlett Packard Enterprise Development LP.
* Without the owner's prior written consent,
* no decompiling or reverse-engineering shall be allowed.
******************************************************************************
<RouterB>
After you enter the correct password, you can access Router B successfully. At the next
connection attempt, the client authenticates the server by using the saved server's host
public key on the client.
Publickey authentication enabled Stelnet client configuration
example
Network requirements
As shown in
the DSA public key algorithm.
Establish an Stelnet connection between Router A and Router B, so you can log in to Router B to
manage configurations.
Figure 126 Network diagram
Configuration procedure
In the server configuration, the client's host public key is required. Generate a DSA key pair on the
client before configuring the Stelnet server.
1.
Configure the Stelnet client:
# Assign an IP address to GigabitEthernet 2/0/1.
<RouterA> system-view
[RouterA] interface gigabitethernet 2/0/1
[RouterA-GigabitEthernet2/0/1] ip address 192.168.1.56 255.255.255.0
[RouterA-GigabitEthernet2/0/1] quit
# Generate a DSA key pair.
[RouterA] public-key local create dsa
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...
.++++++++++++++++++++++++++++++++++++++++++++++++++*
........+......+.....+......................................+
Figure
126, Router B acts as the Stelnet server, and it uses publickey authentication and
420
*
*
*

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents