3Com Router Command Reference Guide Addendum for V1.2
3.11 public-key-code end
Syntax
public-key-code end
View
Public key view
Parameter
None
Description
Using the
After ending the public key editing by executing this command, the system will verify the validity of the key before saving the key. If there is any invalid character in the character string, the system will prompt that it will discard all the public key data configured by the user due to the presence of invalid characters and will return to the public key view from the current view . In this case, you can access the public key edit view again using the
If the system makes sure that the configured key is valid, it will save the public key into the link table of public keys and exit the current view to the system view.
In public key edit view, you are unable to exit to the system view by executing the command quit or return.
For related commands, see rsa
Example
Input an invalid character string when configuring a public key.
[3Com] rsa
% Invalid key string, the length is zero.
Input a valid character string when configuring a public key.
[3Com] rsa
58