643
Syntax
In non-FIPS mode:
ssh2 algorithm public-key
{
ecdsa
|
dsa
|
rsa
}
*
undo ssh2 algorithm public-key
In FIPS mode:
ssh2 algorithm public-key
{
ecdsa
|
rsa
}
*
undo ssh2 algorithm public-key
Default
In non-FIPS mode:
SSH2 uses the public key algorithms
ecdsa
,
dsa
, and
rsa
in descending order of priority for
algorithm negotiation.
In FIPS mode:
SSH2 uses the public key algorithms
ecdsa
and
rsa
in descending order of priority for algorithm
negotiation.
Views
System view
Predefined user roles
network-admin
Parameters
ecdsa
: Specifies the public key algorithm
ecdsa
.
dsa
: Specifies the public key algorithm
dsa
.
rsa
: Specifies the public key algorithm
rsa
.
Usage guidelines
If you specify the public key algorithms, SSH2 uses only the specified algorithms for algorithm
negotiation. The algorithm specified earlier has a higher priority during negotiation.
Examples
# Specify the algorithm
dsa
as the public key algorithm for SSH2.
<Sysname> system-view
[Sysname] ssh2 algorithm public-key dsa
Related commands
display ssh2 algorithm
ssh2 algorithm cipher
ssh2 algorithm key-exchange
ssh2 algorithm mac