Publickey Authentication Enabled Sftp Client Configuration Example - HPE FlexFabric 7900 Series Security Configuration Manual

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

Advertisement

# Assign the user role network-admin and working directory flash:/ to the local user client002.
[Switch-luser-manage-client002] authorization-attribute user-role network-admin
work-directory flash:/
[Switch-luser-manage-client002] quit
# Create an SSH user client002, specify the authentication method as password and service
type as sftp for the user.
[Switch] ssh user client002 service-type sftp authentication-type password
2.
Establish a connection between the SFTP client and the SFTP server:
The device supports different types of SFTP client software. This example uses an SFTP client
that runs PSFTP of PuTTy version 0.58.
NOTE:
PSFTP supports only password authentication.
To establish a connection to the SFTP server:
a. Run the psftp.exe to launch the client interface shown in
command:
open 192.168.1.45
b. Enter username client002 and password aabbcc as prompted to log in to the SFTP server.
Figure 45 SFTP client interface
Publickey authentication enabled SFTP client configuration
example
Network requirements
As shown in
the RSA public key algorithm.
Establish an SFTP connection between Switch A and Switch B, so you can log in to Switch B to
execute file management and transfer operations.
Figure
46, Switch B acts as the SFTP server, and it uses publickey authentication and
172
Figure
45, and enter the following

Advertisement

Table of Contents
loading

Table of Contents