HP 6125G Configuration Manual page 225

Security configuration guide
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

++++++++
++++++++++++++
+++++
++++++++
# Generate the 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 1, which the client will use as the destination for SSH
connection.
[Switch] interface vlan-interface 1
[Switch-Vlan-interface1] ip address 192.168.1.45 255.255.255.0
[Switch-Vlan-interface1] quit
# Set the authentication mode of the user interfaces to AAA.
[Switch] user-interface vty 0 7
[Switch-ui-vty0-7] authentication-mode scheme
# Enable the user interfaces to support all protocols including SSH.
[Switch-ui-vty0-7] protocol inbound all
[Switch-ui-vty0-7] quit
# Create a local user named test.
[Switch] local-user test
[Switch-luser-test] password simple aabbcc
[Switch-luser-test] service-type ssh
[Switch-luser-test] quit
# Configure the SSH user authentication method as password and service type as scp.
[Switch] ssh user test service-type scp authentication-type password
215

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents