Command Manual – SSH
H3C S7500E Series Ethernet Switches Chapter 1 SSH Configuration Commands
1-15
z dh-group-exchange: Key exchange algorithm
diffie-hellman-group-exchange-sha1.
z dh-group1: Key exchange algorithm diffie-hellman-group1-sha1.
z dh-group14: Key exchange algorithm diffie-hellman-group14-sha1.
prefer-stoc-cipher: Preferred algorithm from server to client, defaulted to aes128.
prefer-stoc-hmac: Preferred HMAC algorithm from server to client, defaulted to sha1.
Description
Use the sftp command to establish a connection to a remote IPv4 SFTP server and
enter SFTP client view.
Examples
# Connect to SFTP server 10.1.1.2.
<Sysname> sftp 10.1.1.2
Input Username:
1.1.17 sftp client ipv6 source
Syntax
sftp client ipv6 source { ipv6 ipv6-address | interface interface-type
interface-number }
undo sftp client ipv6 source
View
System view
Parameters
ipv6 ipv6-address: Specifies a source IPv6 address.
interface interface-type interface-number: Specifies a source interface by its type and
number.
Description
Use the sftp client ipv6 source command to specify the source IPv6 address or
source interface for an SFTP client.
Use the undo sftp client ipv6 source command to remove the configuration.
By default, the client uses the interface address specified by the route of the device to
access the SFTP server.
Examples
# Specify the source IPv6 address of the SFTP client as 2:2::2:2.