265
•
aes128
: Encryption algorithm aes128-cbc.
•
aes256
: Encryption algorithm aes256-cbc.
•
des
: Encryption algorithm des-cbc.
prefer-ctos-hmac
: Preferred HMAC algorithm from client to server, defaulted to
sha1-96
.
•
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
in non-FIPS mode, and
dh-group14
in FIPS mode.
•
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 encryption algorithm from server to client, defaulted to aes128.
prefer-stoc-hmac
: Preferred HMAC algorithm from server to client, defaulted to
sha1-96
.
Description
Use the
sftp
command to establish a connection to a remote IPv4 SFTP server and enter SFTP client view.
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 to get the correct data for the local private key. By default,
the public key algorithm is DSA.
Examples
# Connect to SFTP server 10.1.1.2, using the following algorithms:
•
Preferred key exchange algorithm:
dh-group1
.
•
Preferred encryption algorithm from server to client:
aes128
.
•
Preferred HMAC algorithm from client to server:
md5
.
•
Preferred HMAC algorithm from server to client:
sha1-96
.
<Sysname> sftp 10.1.1.2 prefer-kex dh-group1 prefer-stoc-cipher aes128 prefer-ctos-hmac
md5 prefer-stoc-hmac sha1-96
Input Username:
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
Default level
3: Manage level