Publickey Authentication Enabled Stelnet Client Configuration Example - HP MSR2000 Configuration Manual

Hide thumbs Also See for MSR2000:
Table of Contents

Advertisement

8716261214A5A3B493E866991113B2D
[RouterA-pkey-public-key-key1]485348
[RouterA-pkey-public-key-key1] peer-public-key end
[RouterA] quit
# Establish an SSH connection to the server, and specify the host public key of the server.
<RouterA> ssh2 192.168.1.40 publickey key1
Username: client001
client001@192.168.1.40's password:
After you enter the correct password, you log in to Router B successfully.
Publickey authentication enabled Stelnet client configuration
example
Network requirements
As shown in
assigned the user role network-admin for configuration management. Router B acts as the Stelnet server
and uses publickey authentication and the DSA public key algorithm.
Figure 64 Network diagram
Configuration procedure
In the server configuration, the client's host 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 interface Ethernet 1/1.
<RouterA> system-view
[RouterA] interface ethernet 1/1
[RouterA-Ethernet1/1] ip address 192.168.1.56 255.255.255.0
[RouterA-Ethernet1/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...
.++++++++++++++++++++++++++++++++++++++++++++++++++*
........+......+.....+......................................+
...+.................+..........+...+
Create the key pair successfully.
# Export the DSA host public key to the file key.pub.
Figure
64, you can log in to Router B through the Stelnet client that runs on Router A and are
236

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr3000Msr4000

Table of Contents