![HP FlexNetwork MSR Series Скачать руководство пользователя страница 659](http://html.mh-extra.com/html/hp/flexnetwork-msr-series/flexnetwork-msr-series_command-reference-manual_163078659.webp)
641
Syntax
In non-FIPS mode:
ssh2
algorithm
key-exchange
{
dh-group-exchange-sha1
|
dh-group14-sha1
|
dh-group1-sha1
}
*
undo ssh2 algorithm key-exchange
In FIPS mode:
ssh2 algorithm key-exchange dh-group14-sha1
undo ssh2 algorithm key-exchange
Default
In non-FIPS mode:
SSH2 uses the key exchange algorithms
dh-group-exchange-sha1
,
dh-group14-sha1
, and
dh-group1-sha1
in descending order of priority for algorithm negotiation.
In FIPS mode:
SSH2 uses the key exchange algorithm
dh-group14-sha1
for algorithm negotiation.
Views
System view
Predefined user roles
network-admin
Parameters
dh-group-exchange-sha1
:
Specifies the key exchange algorithm
diffie-hellman-group-exchange-sha1
.
dh-group14-sha1
: Specifies the key exchange algorithm
diffie-hellman-group14-sha1
.
dh-group1-sha1
: Specifies the key exchange algorithm
diffie-hellman-group1-sha1
.
Usage guidelines
If you specify the key exchange algorithms, SSH2 uses only the specified algorithms for algorithm
negotiation. The algorithm specified earlier has a higher priority during negotiation.
Examples
# Specify the algorithm
dh-group1-sha1
as the key exchange algorithm for SSH2.
<Sysname> system-view
[Sysname] ssh2 algorithm key-exchange dh-group1-sha1
Related commands
display ssh2 algorithm
ssh2 algorithm cipher
ssh2 algorithm mac
ssh2 algorithm public-key
ssh2 algorithm mac
Use
ssh2 algorithm mac
to specify MAC algorithms for SSH2.
Use
undo
ssh2 algorithm mac
to restore the default.