HP VSR1000 Security Configuration Manual page 291

Virtual services router
Table of Contents

Advertisement

[RouterB-GigabitEthernet1/0] quit
# Create a local device management user client001. Specify the plaintext password as aabbcc
and the service type as ssh for the user. Assign the user role network-admin to the user.
[RouterB] local-user client001 class manage
[RouterB-luser-manage-client001] password simple aabbcc
[RouterB-luser-manage-client001] service-type ssh
[RouterB-luser-manage-client001] authorization-attribute user-role network-admin
[RouterB-luser-manage-client001] quit
# Configure an SSH user client001. Specify the service type as scp and the authentication method
as password for the user. By default, password authentication is used if no SSH user is created.
[RouterB] ssh user client001 service-type scp authentication-type password
2.
Configure an IP address for GigabitEthernet 1/0 on the SCP client.
<RouterA> system-view
[RouterA] interface gigabitethernet 1/0
[RouterA-GigabitEthernet1/0] ip address 192.168.0.2 255.255.255.0
[RouterA-GigabitEthernet1/0] quit
[RouterA] quit
3.
Connect to the SCP server, download the file remote.bin from the server, and save it locally to the
file local.bin.
<RouterA> scp 192.168.0.1 get remote.bin local.bin
Username: client001
Connected to 192.168.0.1 ...
The Server is not authenticated. Continue? [Y/N]:y
Do you want to save the server public key? [Y/N]:n
Enter password:
18471 bytes transfered in 0.001 seconds.
281

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents