R0106-HP MSR Router Series Security Command Reference(V7)
419
interface interface-type interface-number: Specifies a source interface by its type and number. The IPv6
address of this interface is the source IP address of the IPv6 SSH packets.
ipv6 ipv6-address: Specifies a source IPv6 address.
Usage guidelines
In publickey authentication, the client must get the local private key for digital signature. Because
publickey authentication uses either RSA or DSA algorithm, you must specify a public key algorithm by
using the identity-key keyword. In this way, the client can get the correct local private key.
Examples
# Establish a connection to the IPv6 Stelnet server 2000::1 and specify the public key of the server as
svkey. The SSH client uses publickey authentication. Use the following algorithms:
• Preferred key exchange algorithm is dh-group14.
• Preferred server-to-client encryption algorithm is aes128.
• Preferred client-to-server HMAC algorithm is sha1.
• Preferred server-to-client HMAC algorithm is sha1-96.
• Preferred compression algorithm between the server and client is zlib.
<Sysname> ssh2 ipv6 2000::1 prefer-kex dh-group14 prefer-stoc-cipher aes128
prefer-ctos-hmac sha1 prefer-stoc-hmac sha1-96 prefer-compress zlib publickey svkey