164
Examples
# Specify the algorithm md5 as the MAC algorithm for SSH2.
<Sysname> system-view
[Sysname] ssh2 algorithm mac md5
Related commands
display ssh2 algorithm
ssh2 algorithm cipher
ssh2 algorithm key-exchange
ssh2 algorithm public-key
New command: ssh2 algorithm public-key
Use ssh2 algorithm public-key to specify public key algorithms for SSH2.
Use undo ssh2 algorithm public-key to restore the default.
Syntax
In non-FIPS mode:
ssh2 algorithm public-key { dsa | ecdsa | rsa | x509v3-ecdsa-sha2-nistp384 |
x509v3-ecdsa-sha2-nistp256 } *
undo ssh2 algorithm public-key
In FIPS mode:
ssh2 algorithm public-key { ecdsa | rsa | x509v3-ecdsa-sha2-nistp384 |
x509v3-ecdsa-sha2-nistp256 } *
undo ssh2 algorithm public-key
Default
SSH2 uses the public key algorithms x509v3-ecdsa-sha2-nistp256, x509v3-ecdsa-sha2-nistp384,
ecdsa, rsa, and dsa in descending order of priority for algorithm negotiation.
Views
System view
Predefined user roles
network-admin
Parameters
dsa: Specifies the public key algorithm dsa.
ecdsa: Specifies the public key algorithm ecdsa.
rsa: Specifies the public key algorithm rsa.
x509v3-ecdsa-sha2-nistp256: Specifies the public key algorithm x509v3-ecdsa-sha2-nistp256.