Command Manual – SSH
H3C S7500E Series Ethernet Switches Chapter 1 SSH Configuration Commands
1-28
1.1.33 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
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.
z 3des: Encryption algorithm 3des-cbc.
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, default 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 ipv6 command to establish a connection to an IPv6 SSH server and
specify the preferred key exchange algorithm, encryption algorithms, and HMAC
algorithms of the client and the server.
Examples
# Login to remote SSH2 server 2000::1, setting the algorithms as follows: