2186
C
142: SSH2.0 C
HAPTER
Description
Example
sftp client ipv6 source
Syntax
View
Parameter
C
ONFIGURATION
OMMANDS
des: Encryption algorithm des-cbc.
■
prefer-ctos-hmac: Preferred HMAC algorithm from client to server, defaulted to
sha1.
md5: HMAC algorithm hmac-md5.
■
md5-96: HMAC algorithm hmac-md5-96.
■
sha1: HMAC algorithm hmac-sha1.
■
sha1-96: HMAC algorithm hmac-sha1-96.
■
prefer-kex: Preferred key exchange algorithm, defaulted to
dh-group-exchange.
dh-group-exchange: Key exchange algorithm
■
diffie-hellman-group-exchange-sha1.
dh-group1: Key exchange algorithm diffie-hellman-group1-sha1.
■
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.
Use the
command to establish a connection to a remote IPv4 SFTP server and
sftp
enter SFTP client view.
Note that when the client's authentication method is publickey, the client needs to
get the local private key for validation. As the publickey authentication includes
RSA and DSA algorithms, you must specify an algorithm (by using the
identity-key keyword) in order to get the correct data for the local private key.
# Connect to SFTP server 10.1.1.2.
<Sysname> sftp 10.1.1.2
Input Username:
sftp client ipv6 source { ipv6 ipv6-address | interface interface-type
interface-number }
undo sftp client ipv6 source
System view
ipv6 ipv6-address: Specifies a source IPv6 address.
interface interface-type interface-number: Specifies a source interface by its type
and number.