File Transfer With Password Authentication - HP 12500 Series Configuration Manual

Routing
Table of Contents

Advertisement

File transfer with password authentication

Network requirements
As shown in
securely transfer files with Switch B through Switch A. Switch B uses the password authentication method
and the client 's username and password are saved on Switch B.
Figure 84 Network diagram
Configuration procedure
Configure the SCP server:
1.
<SwitchB> system-view
[SwitchB] 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.
[SwitchB] 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.
[SwitchB] ssh server enable
# Configure an IP address for VLAN-interface 2, which the client will use as the destination for SSH
connection.
[SwitchB] interface vlan-interface 2
[SwitchB-Vlan-interface2] ip address 192.168.0.1 255.255.255.0
[SwitchB-Vlan-interface2] quit
# Set the authentication mode of the user interface to AAA.
[SwitchB] user-interface vty 0 4
[SwitchB-ui-vty0-4] authentication-mode scheme
Figure
84, Switch A acts as the SCP client, and Switch B acts as the SCP server. A user can
241

Advertisement

Table of Contents
loading

Table of Contents