Sftp Client Source - HP FlexFabric 7900 Series Command Reference Manual

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

Advertisement

specify a public key algorithm (by using the identity-key keyword) in order to get the correct data for the
local private key.
Examples
# Connect an SFTP client to the IPv4 SFTP server 10.1.1.2 and specify the public key of the server as svkey.
The SFTP client uses publickey authentication. Use the following algorithms:
Preferred key exchange algorithm is dh-group14.
Preferred server-to-client encryption algorithm is aes128.
Preferred client-to-server HMAC algorithm is sha1.
Preferred server-to-client HMAC algorithm is sha1-96.
Preferred compression algorithm between the server and client is zlib.
<Sysname> sftp 10.1.1.2 prefer-kex dh-group14 prefer-stoc-cipher aes128 prefer-ctos-hmac
sha1 prefer-stoc-hmac sha1-96 prefer-compress zlib publickey svkey

sftp client source

Use sftp client source to specify the source IPv4 address or source interface for the SFTP client.
Use undo sftp client source to remove the configuration.
Syntax
sftp client source { interface interface-type interface-number | ip ip-address }
undo sftp client source
Default
The SFTP client uses the IPv4 address of the interface specified by the route of the device to access the
SFTP server.
Views
System view
Predefined user roles
network-admin
Parameters
interface interface-type interface-number: Specifies the primary IP address of the interface as the source
address. The interface-type interface-number argument specifies a source interface by its type and
number.
ip ip-address: Specifies a source IPv4 address.
Usage guidelines
The SFTP client uses the specified source interface and source IP address to communicate with the server.
If you execute the sftp client source command multiple times, the most recent configuration takes effect.
If you use the sftp command to connect to an SFTP server and specify another source IP address, the SFTP
client uses the new source IPv4 address for the current connection instead of that specified by the sftp
client source command.
The source address specified by the sftp client source command applies to all SFTP connections, but the
source address specifies by the sftp command applies only to the current connection.
202

Advertisement

Table of Contents
loading

Table of Contents