The ssh client publickey command enables the public key algorithm function of the SSH client.
The undo ssh client publickey command restores public key algorithms of the SSH client to default values.
If the default configuration file is used, the RSA_SHA2_256, RSA_SHA2_512, RSA, and ECC public key algorithms are enabled, whereas the DSA and SM2 algorithms are disabled. If the ssh client publickey command configuration does not exist in the configuration file that is in use, only RSA_SHA2_256 and RSA_SHA2_512 public key algorithms are enabled.
Usage Scenario
Precautions