Command Manual (For Soliton) – FTP-SFTP-TFTP
H3C S3100 Series Ethernet Switches
Chapter 1 FTP and SFTP Configuration
Commands
1-35
z
dh_group1
: Key exchange algorithm diffie-hellman-group1-sha1. It is the default
key exchange algorithm.
z
dh_exchange_group
: Key exchange algorithm
diffie-hellman-group-exchange-sha1.
prefer_ctos_cipher
: Preferred client-to-server encryption algorithm. The default
algorithm is aes128.
prefer_stoc_cipher
: Preferred server-to-client encryption algorithm. The default
algorithm is aes128.
z
des
: des_cbc encryption algorithm.
z
aes128
: aes_128 encryption algorithm.
prefer_ctos_hmac
: Preferred client-to-server HMAC algorithm. The default algorithm
is sha1_96.
prefer_stoc_hmac
: Preferred server-to-client HMAC algorithm. The default algorithm
is sha1_96.
z
sha1
: HMAC algorithm hmac-sha1.
z
sha1_96
: HMAC algorithm hmac-sha1-96.
z
md5
: HMAC algorithm hmac-md5.
z
md5_96
: HMAC algorithm hmac-md5-96.
Description
Use the
sftp
command to establish a connection with the remote SFTP server and
enter SFTP client view.
If you specify to authenticate a client through public key on the server, the client needs
to read the local private key when logging in to the SFTP server. Since both RSA and
DSA are available for public key authentication, you need to use the
identity-key
key
word to specify the algorithms to get correct local private key; otherwise you will fail to
log in.
Examples
# Connect the SFTP server with the IP address 10.1.1.2. Use the default encryption
algorithm.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname]sftp 10.1.1.2
Input Username: kk
Trying 10.1.1.2...
Press CTRL+K to abort
Connected to 10.1.1.2 ...
The Server is not authenticated. Do you continue access it?(Y/N):y