HPE FlexFabric 7900 Series Security Configuration Manual page 179

Hide thumbs Also See for FlexFabric 7900 Series:
Table of Contents

Advertisement

Establish an SFTP connection between the host and the switch, so you can log in to the switch to
execute file management and transfer operations.
Figure 44 Network diagram
Configuration procedure
1.
Configure the SFTP server:
# Generate RSA key pairs.
<Switch> system-view
[Switch] public-key local create rsa
The range of public key size is (512 ~ 2048).
If the key modulus is greater than 512, it will take a few minutes.
Press CTRL+C to abort.
Input the modulus length [default = 1024]:
Generating Keys...
........................++++++
...................++++++
..++++++++
............++++++++
Create the key pair successfully.
# Generate a DSA key pair.
[Switch] public-key local create dsa
The range of public key size is (512 ~ 2048).
If the key modulus is greater than 512, it will take a few minutes.
Press CTRL+C to abort.
Input the modulus length [default = 1024]:
Generating Keys...
.++++++++++++++++++++++++++++++++++++++++++++++++++*
........+......+.....+......................................+
...+.................+..........+...+
Create the key pair successfully.
# Enable the SFTP server.
[Switch] sftp server enable
# Assign an IP address to VLAN-interface 2. The SFTP client uses this address as the
destination for SSH connection.
[Switch] interface vlan-interface 2
[Switch-Vlan-interface2] ip address 192.168.1.45 255.255.255.0
[Switch-Vlan-interface2] quit
# Create a local device management user client002.
[Switch] local-user client002 class manage
# Set the password to aabbcc in plain text for the local user client002.
[Switch-luser-manage-client002] password simple aabbcc
# Authorize the local user client002 to use the SSH service.
[Switch-luser-manage-client002] service-type ssh
171

Advertisement

Table of Contents
loading

Table of Contents