Installation manual
Command Manual - System Management
Quidway S3000-EI Series Ethernet Switches Chapter 8 SSH Configuration Commands
Huawei Technologies Proprietary
8-8
8.1.10 public-key-code end
Command
public-key-code end
View
RSA key code view
Parameter
None
Description
Using the public-key-code end command, you can save the configured public key and
return to the RSA public key view from the RSA key code view.
This command terminates the edit process of public key and checks its validity before
saving. If the public key contains invalid characters or violates coding rules,
corresponding information will be prompted and the current configuration fails. If you
have configured valid public key, the system will store it into the public key table.
For the related commands, see rsa peer-public-key, public-key-code begin.
Example
# Exit the RSA key code view and save the configuration.
[Quidway-rsa-key-code] public-key-code end
[Quidway-rsa-public-key]
8.1.11 rsa local-key-pair create
Command
rsa local-key-pair create
View
System view
Parameter
None
Description
Using the rsa local-key-pair create command, you can create local RSA host key pair
and server key pair.
If you have configured RSA key, the system gives an alarm after using this command
and prompts that the existing one will be replaced. The key naming format is switch