HP A6600 Configuration Manual page 350

Hide thumbs Also See for A6600:
Table of Contents

Advertisement

++++++++++++++
+++++
++++++++
# Generate a DSA key pair.
[Router] 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.
[Router] ssh server enable
# Enable the SFTP server.
[Router] sftp server enable
# Configure an IP address for interface GigabitEthernet 1/0/1, which the client uses as the destination
for SSH connection.
[Router] interface GigabitEthernet 1/0/1
[Router-GigabitEthernet1/0/1] ip address 192.168.1.45 255.255.255.0
[Router-GigabitEthernet1/0/1] quit
# Set the authentication mode of the user interfaces to AAA.
[Router] user-interface vty 0 4
[Router-ui-vty0-4] authentication-mode scheme
# Enable the user interfaces to support SSH.
[Router-ui-vty0-4] protocol inbound ssh
[Router-ui-vty0-4] quit
# Configure a local user named client002 with the password being aabbcc and the service type being
SSH.
[Router] local-user client002
[Router-luser-client002] password simple aabbcc
[Router-luser-client002] service-type ssh
[Router-luser-client002] quit
# Configure the user authentication method as password and service type as SFTP.
[Router] ssh user client002 service-type sftp authentication-type password
Establish a connection between the SFTP client and the SFTP server.
2.
NOTE:
The router supports a variety of SSH client software. The following takes the PSFTP of PuTTY Version
0.58 as an example.
The PSFTP supports only password authentication.
338

Advertisement

Table of Contents
loading

Table of Contents