3com 4500 26-PORT User Manual

Page of 466
SSH Client Configuration Commands
433
[SW4500]ssh client first-time enable
ssh2
Syntax
ssh2 { host-ip | host-name } [ port-num ] [ prefer_kex { dh_group1 | 
dh_exchange_group } ] [ prefer_ctos_cipher { des | 3des | aes128 } ] 
[ prefer_stoc_cipher { des | 3des | aes128 } ] [ prefer_ctos_hmac { 
sha1 | sha1_96 | md5 | md5_96 } ] [ prefer_stoc_hmac { sha1 | sha1_96 
| md5 | md5_96 } ]
View
System View
Parameter
host-ip
: IP address of the server.
host-name: 
The name of the server. It is a string with a length of 1 to 20 
characters.
port-num
: The port number of the server, ranging from 0 to 65535. By default, 
the port number is 22.
prefer_kex:
 Preferred key exchange algorithm, which can be one of the two 
algorithms.
dh_group1:
 Key exchange algorithm diffie-hellman-group1-sha1, which is the 
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.