Command Manual – System Management 
Quidway S8500 Series Routing Switches 
Chapter 8  SSH Terminal Service Configuration 
Commands
 
Huawei Technologies Proprietary 
8-30 
Parameter 
ipaddr: IP address of the server. 
prefer_key: Preferred key exchange algorithm, which can be either 
diffie-hellman-group1-sha1 or diffie-hellman-group-exchange-sha1. 
dh_group1: Key exchange algorithm diffie-hellman-group1-sha1, which is default 
algorithm. 
dh_exchange_group: Key exchange algorithm diffie-hellman-group-exchange-sha1. 
prefer_ctos_cipher: Preferred encryption algorithm from the client to the server. The 
default algorithm is aes128. 
prefer_stoc_cipher: Preferred encryption algorithm from the server to the client. The 
default algorithm is aes128. 
des: Encryption algorithm des_cbc. 
3des: Encryption algorithm 3des_cbc. 
aes128: Encryption algorithm aes_128. 
prefer_ctos_hmac: Preferred HMAC algorithm from the client to the server. The 
default algorithm is sha1_96. 
prefer_stoc_hmac: Preferred HMAC algorithm from the server to the client. The 
default algorithm is sha1_96. 
sha1: HMAC algorithm hmac-sha1. 
sha1_96: HMAC algorithm hmac-sha1-96. 
md5: HMAC algorithm hmac-md5. 
md5_96: HMAC algorithm hmac-md5-96. 
Description 
Use the sftp command to establish the connection with the remote SFTP server and 
enter the SFTP Client view. 
Example 
# Connect to the SFTP server with IP address 10.214.49.126 using the default 
encryption algorithm. 
<Quidway> system-view 
System View: return to User View with Ctrl+Z.  
[Quidway] sftp 10.214.49.126