HP A6600 Configuration Manual page 336

Hide thumbs Also See for A6600:
Table of Contents

Advertisement

Configuration procedure
Configure the SSH server.
1.
# Generate the RSA key pairs.
<RouterB> system-view
[RouterB] public-key local create rsa
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...
++++++++
++++++++++++++
+++++
++++++++
# Generate a DSA key pair.
[RouterB] 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.
[RouterB] ssh server enable
# Configure an IP address for interface GigabitEthernet 1/0/1, which the SSH client uses as the
destination for SSH connection.
[RouterB] interface GigabitEthernet 1/0/1
[RouterB-GigabitEthernet1/0/1] ip address 10.165.87.136 255.255.255.0
[RouterB-GigabitEthernet1/0/1] quit
# Set the authentication mode for the user interfaces to AAA.
[RouterB] user-interface vty 0 4
[RouterB-ui-vty0-4] authentication-mode scheme
# Enable the user interfaces to support SSH.
[RouterB-ui-vty0-4] protocol inbound ssh
[RouterB-ui-vty0-4] quit
# Create local user client001.
[RouterB] local-user client001
[RouterB-luser-client001] password simple aabbcc
[RouterB-luser-client001] service-type ssh
[RouterB-luser-client001] authorization-attribute level 3
[RouterB-luser-client001] quit
324

Advertisement

Table of Contents
loading

Table of Contents