1-34
des | aes128 } | prefer_ctos_hmac { sha1 | sha1_96 | md5 | md5_96 } | prefer_stoc_hmac { sha1 |
sha1_96 | md5 | md5_96 } ] *
View
System view
Parameters
host-ip: Server IP address.
host-name: Server name, a string of 1 to 20 characters.
port-num: Server port number. It is in the range of 0 to 65,535 and defaults to 22.
identity-key: Specifies the algorithm for publickey authentication, either dsa or rsa. The default is rsa.
prefer_kex: Specifies the preferred key exchange algorithm. You can select one from the following two
algorithms.
z dh_group1: Diffie-Hellman-group1-sha1 key exchange algorithm. It is the default algorithm.
z dh_exchange_group: Diffie-Hellman-group-exchange-sha1 key exchange algorithm.
prefer_ctos_cipher: Specifies the preferred client-to-server encryption algorithm, which is AES128 by
default.
prefer_stoc_cipher: Specifies the preferred server-to-client encryption algorithm, which is AES128 by
default.
z 3des: 3DES_cbc encryption algorithm.
z des: DES_cbc encryption algorithm.
z aes128: AES_128 encryption algorithm.
prefer_ctos_hmac: Specifies the preferred client-to-server HMAC (Hash-based message
authentication code) algorithm, which is SHA1_96 by default.
prefer_stoc_hmac: Specifies the preferred server-to-client HMAC algorithm, which is SHA1_96 by
default.
z sha1: HMAC-SHA1 algorithm.
z sha1_96: HMAC-SHA1-96 algorithm.
z md5: HMAC-MD5 algorithm.
z md5_96: HMAC-MD5-96 algorithm.
z DES (data encryption standard) is a standard data encryption algorithm.
z AES (advanced encryption standard) is an advanced encryption standard algorithm.
Description
Use the ssh2 command to start the SSH client to establish a connection with an SSH server, and at the
same time specify the preferred key exchange algorithm, encryption algorithms and HMAC algorithms
between the server and client.