Network requirements – H3C Technologies H3C SecBlade LB Cards User Manual
Page 195
184
[LB-ui-vty0-4] protocol inbound ssh
[LB-ui-vty0-4] quit
# Configure a local user named client002 with the password aabbcc and the service type ssh.
[LB] local-user client002
[LB-luser-client002] password simple aabbcc
[LB-luser-client002] service-type ssh
[LB-luser-client002] quit
# Configure the user authentication method as password and service type as SFTP.
[LB] ssh user client002 service-type sftp authentication-type password
2.
Establish a connection to the SFTP server:
The device supports different types of SFTP client software. The following uses PSFTP of PuTTY
version 0.58 as an example.
PSFTP supports only password authentication.
To establish a connection to the SFTP server:
a.
Run the psftp.exe to launch the client interface as shown in
, and enter the following
command:
open 192.168.1.45
b.
Enter username client002 and password aabbcc as prompted to log in to the SFTP server.
Figure 85 SFTP client interface
Publickey authentication enabled SFTP client configuration
example
Network requirements
As shown in
, you can log in to the router through the SFTP client that runs on the LB. The router
acts as the SFTP server, adopting publickey authentication and the RSA public key algorithm.