HP 10500 Series Configuration Manual page 228

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

Advertisement

It will take a few minutes.
Press CTRL+C to abort.
Input the bits of the modulus[default = 1024]:
Generating Keys...
++++++++
++++++++++++++
+++++
++++++++
# Generate a DSA key pair.
[Switch] 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...
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++
# Enable the SSH server function.
[Switch] ssh server enable
# Configure an IP address for VLAN-interface 2, which the Stelnet client will use as the destination
address of the SSH connection.
[Switch] interface vlan-interface 2
[Switch-Vlan-interface2] ip address 192.168.1.40 255.255.255.0
[Switch-Vlan-interface2] quit
# Set the authentication mode for the user interface to AAA.
[Switch] user-interface vty 0 15
[Switch-ui-vty0-15] authentication-mode scheme
# Enable the user interface to support SSH.
[Switch-ui-vty0-15] protocol inbound ssh
[Switch-ui-vty0-15] quit
# Create local user client001, with the password ass aabbcc and the service type as ssh.
[Switch] local-user client001
[Switch-luser-client001] password simple aabbcc
[Switch-luser-client001] service-type ssh
[Switch-luser-client001] quit
# (Optional) Specify the service type for user client001 as stelnet, and the authentication method
as password.
[Switch] ssh user client001 service-type stelnet authentication-type password
2.
Establish a connection to the Stelnet server:
The device supports a variety of Stelnet client software, such as PuTTY, and OpenSSH. The
following is an example of configuring Stelnet client using PuTTY Version 0.58.
To establish a connection to the Stelnet server:
a.
Launch PuTTY.exe on the Stelnet client to enter the interface as shown in Figure 80.
b.
In the Host Name (or IP address) filed, enter the IP address of the Stelnet server 192.168.1.40.
218

Advertisement

Table of Contents
loading

Table of Contents