Sftp Ipv6 - HP 6125XLG Command Reference Manual

Blade switch security command reference
Table of Contents

Advertisement

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 IPv6 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.
Examples
# Specify the source IP address for the SFTP client as 192.168.0.1.
<Sysname> system-view
[Sysname] sftp client source ip 192.168.0.1
Related commands
display sftp client source

sftp ipv6

Use sftp ipv6 to connect an SFTP client to an IPv6 SFTP server and enter SFTP client view.
Syntax
In non-FIPS mode:
sftp ipv6 server [ port-number ] [ vpn-instance vpn-instance-name ] [ -i interface-type interface-number ]
[ identity-key { dsa | rsa } | prefer-compress zlib | prefer-ctos-cipher { 3des | aes128 | aes256 | des }
| prefer-ctos-hmac { md5 | md5-96 | sha1 | sha1-96 } | prefer-kex { dh-group-exchange | dh-group1
| dh-group14 } | prefer-stoc-cipher { 3des | aes128 | aes256 | des } | prefer-stoc-hmac { md5 |
md5-96 | sha1 | sha1-96 } ] * [ publickey keyname | source { interface interface-type interface-number
| ipv6 ipv6-address } ] *
188

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents