HP MSR2000 Configuration Manual page 242

Hide thumbs Also See for MSR2000:
Table of Contents

Advertisement

d.
Click Save private key to save the private key.
A confirmation dialog box appears.
e.
Click Yes, enter a file name (private.ppk in this example), and click Save.
f.
Transmit the public key file to the server through FTP or TFTP. (Details not shown.)
2.
Configure the Stelnet server:
# Generate the RSA key pairs.
<Router> system-view
[Router] 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.
# Enable the SSH server function.
[Router] ssh server enable
# Assign an IP address to interface Ethernet 1/1. The Stelnet client uses this address as the
destination for SSH connection.
[Router] interface ethernet 1/1
[Router-Ethernet1/1] ip address 192.168.1.40 255.255.255.0
[Router-Ethernet1/1] quit
# Set the authentication mode for the user lines to AAA.
[Router] line vty 0 15
[Router-line-vty0-15] authentication-mode scheme
[Router-line-vty0-15] quit
# Import the peer public key from file key.pub and name it clientkey.
[Router] public-key peer clientkey import sshkey key.pub
# Create an SSH user client002 with the authentication method publickey, and assign the public
key clientkey to the user.
[Router] ssh user client002 service-type stelnet authentication-type publickey assign
publickey clientkey
# Create a local device management user client002 with the service type ssh and the user role
network-admin.
[Router] local-user client002 class manage
[Router-luser-manage-client002] service-type ssh
[Router-luser-manage-client002] authorization-attribute user-role network-admin
[Router-luser-manage-client002] quit
3.
Specify the private key file and establish a connection to the Stelnet server:
a.
Launch PuTTY.exe on the Stelnet client to enter the interface shown in
b.
In the Host Name (or IP address) field, enter the IP address 192.168.1.40 of the Stelnet server.
231
Figure
60.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr3000Msr4000

Table of Contents