HP VPN Firewall Appliances System Management and Maintenance Configuration Guide

178
Configuring the device as an SFTP client
This section describes how to configure the device as an SFTP client.
SFTP client configuration task list
Task Remarks
Specifying a source IP address or source interface for the SFTP client Optional.
Enabling and disabling first-time authentication Optional.
Establishing a connection to an SFTP server Required.
Working with SFTP directories Optional.
Working with SFTP files Optional.
Displaying help information Optional.
Terminating the connection with the SFTP server Optional.
Specifying a source IP address or source interface for the SFTP
client
By default, an SFTP client uses the IP address of the outbound interface specified by the route to the SFTP
server as the source IP address to communicate with the SFTP server. You can change the source IP
address or specify a source interface for the client.
To make sure the SFTP client and the SFTP server can communicate with each other, and to improve the
manageability of SFTP clients in the authentication service, HP recommends that you specify a loopback
interface or dialer interface as the source interface.
To specify a source IP address or interface for the SFTP client:
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Specify a source IP
address or
interface for the
SFTP client.
Specify a source IPv4 address or interface for the
SFTP client:
sftp client source { interface interface-type
interface-number | ip ip-address }
Specify a source IPv6 address or interface for the
SFTP client:
sftp client ipv6 source { interface interface-type
interface-number | ipv6 ipv6-address }
Use either command.
Establishing a connection to an SFTP server
You can launch the SFTP client to establish a connection to an SFTP server, and specify the public key
algorithm, the preferred encryption algorithm, preferred HMAC algorithm, and preferred key exchange
algorithm.