Command Manual –SSH Terminal Service
Quidway S3900 Series Ethernet Switches-Release 1510
View
Public key edit view
Parameter
None
Description
Use the public-key-code end command to return from public key edit view to public
key view and save the public keys you set.
After you use this command to terminate the public key editing, public key validity will
be checked before the keys are saved.
If there are illegal characters in the keys, the prompt will be given and the keys will
be discarded. Your configuration this time fails.
If the keys are valid, they will be saved in the local public key list.
Related command: rsa peer-public-key, public-key-code begin.
Example
# Exit from public key edit view and save the public keys.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway]rsa peer-public-key kk
[Quidway-rsa-public-key]public-key-code begin
[Quidway-rsa-key-code] public-key-code end
[Quidway-rsa-public-key]
1.1.10 rsa local-key-pair create
Syntax
rsa local-key-pair create
View
System view
Parameter
None
Description
Use the rsa local-key-pair create command to generate RSA key pairs, whose names
are in the format of switch name plus "_Host" and "_Server", Quidway_Host and
Quidway_Server for example.
Huawei Technologies Proprietary
1-9
Chapter 1 SSH Terminal Service
Configuration Commands