Download Print this page

Sftp Client Ipv6 Source - HP FlexNetwork MSR Series Command Reference Manual

Comware 7 security
Hide thumbs Also See for FlexNetwork MSR Series:

Advertisement

source: Specifies a source IPv4 address or source interface for the SFTP packets. By default, the
device uses the primary IPv4 address of the output interface in the routing entry as the source IPv4
address of SFTP packets. As a best practice to ensure successful IPv4 SFTP connections, specify a
loopback interface or dialer interface as the source interface or specify that interface's IPv4 address
as the source IPv4 address.
interface interface-type interface-number: Specifies a source interface by its type and number. The
primary IPv4 address of this interface is the source IPv4 address of the SFTP packets.
ip ip-address: Specifies a source IPv4 address.
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: dh-group14-sha1.
Preferred server-to-client encryption algorithm: aes128-cbc.
Preferred client-to-server HMAC algorithm: sha1.
Preferred server-to-client HMAC algorithm: sha1-96.
Preferred compression algorithm: zlib.
<Sysname> sftp 10.1.1.2 prefer-kex dh-group14-sha1 prefer-stoc-cipher aes128-cbc
prefer-ctos-hmac sha1 prefer-stoc-hmac sha1-96 prefer-compress zlib public-key svkey

sftp client ipv6 source

Use sftp client ipv6 source to configure the source IPv6 address for SFTP packets.
Use undo sftp client ipv6 source to restore the default.
Syntax
sftp client ipv6 source { interface interface-type interface-number | ipv6 ipv6-address }
undo sftp client ipv6 source
Default
The source IPv6 address for SFTP packets is not configured. The SFTP client automatically selects
an IPv6 address for SFTP packets in compliance with RFC 3484.
Views
System view
Predefined user roles
network-admin
Parameters
interface interface-type interface-number: Specifies a source interface by its type and number. The
SFTP packets use the longest-matching IPv6 address of the specified interface as their source
address.
ipv6 ipv6-address: Specifies a source IPv6 address.
Usage guidelines
If you execute this command multiple times, the most recent configuration takes effect.
This command takes effect on all IPv6 SFTP connections. The source IPv6 address specified in the
sftp ipv6 command takes effect only on the current IPv6 SFTP connection.
If you specify the source IPv6 address both in this command and the sftp ipv6 command, the source
IPv6 address specified in the sftp ipv6 command takes effect.
629

Advertisement

loading