3com S7906E Guide De Référence
1-26
z
aes128: Encryption algorithm aes128-cbc
z
des: Encryption algorithm des-cbc.
prefer-ctos-hmac: Preferred HMAC algorithm from client to server, defaulted to sha1.
z
md5: HMAC algorithm hmac-md5.
z
md5-96: HMAC algorithm hmac-md5-96.
z
sha1: HMAC algorithm hmac-sha1.
z
sha1-96: HMAC algorithm hmac-sha1-96.
prefer-kex: Preferred key exchange algorithm, defaulted to dh-group-exchange.
z
dh-group-exchange: Key exchange algorithm diffie-hellman-group-exchange-sha1.
z
dh-group1: Key exchange algorithm diffie-hellman-group1-sha1.
z
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.
Description
Use the ssh2 command to establish a connection to an IPv4 SSH server, and specify the public key
algorithm, the preferred key exchange algorithm, the preferred encryption algorithms and HMAC
algorithms of the client and the server.
Examples
# Log in to remote SSH2.0 server 10.214.50.51, setting the algorithms as follows:
z
Preferred key exchange algorithm: DH-group1
z
Preferred encryption algorithm from server to client: AES128
z
Preferred HMAC algorithm from client to server: MD5
z
Preferred HMAC algorithm from server to client: SHA1-96.
<Sysname> ssh2 10.214.50.51 prefer-kex dh-group1 prefer-stoc-cipher aes128 prefer-ctos-hmac
md5 prefer-stoc-hmac sha1-96
ssh2 ipv6
Syntax
ssh2 ipv6 server [ port-number ] [ prefer-ctos-cipher { 3des | aes128 | des } | prefer-ctos-hmac
{ md5 | md5-96 | sha1 | sha1-96 } | prefer-kex { dh-group-exchange | dh-group1 | dh-group14 } |
prefer-stoc-cipher { 3des | aes128 | des } | prefer-stoc-hmac { md5 | md5-96 | sha1 | sha1-96 } ] *
View
User view
Default Level
0: Visit level
Parameters
server: IPv6 address or name of the server, a string of 1 to 46 characters.
port-number: Port number of the server, in the range 0 to 65535. The default is 22.
prefer-ctos-cipher: Preferred encryption algorithm from client to server, defaulted to aes128.