When The Switch Acts As An Stelnet Client For Publickey Authentication - HP 10500 Series Configuration Manual

Security configuration guide
Hide thumbs Also See for 10500 Series:
Table of Contents

Advertisement

[SwitchA-pkey-key-code] public-key-code end
[SwitchA-pkey-public-key] peer-public-key end
# Specify the host public key for the Stelnet server 192.168.1.40 as key1.
[SwitchA] ssh client authentication server 192.168.1.40 assign publickey key1
[SwitchA] quit
# Establish an SSH connection to the Stelnet server 192.168.1.40.
<SwitchA> ssh2 192.168.1.40
Username: client001
Trying 192.168.1.40
Press CTRL+K to abort
Connected to 192.168.1.40...
Enter password:
After you enter the correct password, you can log in to Switch B successfully.
When the switch acts as an Stelnet client for publickey
authentication
Network requirements
As shown in
B acts as the Stelnet server, adopting publickey authentication and the DSA public key algorithm.
Figure 88 Network diagram
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:
# Create VLAN-interface 2 and assign an IP address to it.
<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).
NOTES: If the key modulus is greater than 512,
It will take a few minutes.
Press CTRL+C to abort.
Input the bits of the modulus[default = 1024]:
Generating Keys...
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++
Figure
88, you can log in to Switch B through the Stelnet client that runs on Switch A. Switch
227

Advertisement

Table of Contents
loading

Table of Contents