Command Manual –SSH Terminal Service
Quidway S3900 Series Ethernet Switches-Release 1510
System View: return to User View with Ctrl+Z.
[Quidway] rsa peer-public-key quidway003
[Quidway-rsa-public-key] public-key-code begin
[Quidway-key-code] 308186028180739A291ABDA704F5D93DC8FDF84C427463
[Quidway-key-code] 1991C164B0DF178C55FA833591C7D47D5381D09CE82913
[Quidway-key-code] D7EDF9C08511D83CA4ED2B30B809808EB0D1F52D045DE4
[Quidway-key-code] 0861B74A0E135523CCD74CAC61F8E58C452B2F3F2DA0DC
[Quidway-key-code] C48E3306367FE187BDD944018B3B69F3CBB0A573202C16
[Quidway-key-code] BB2FC1ACF3EC8F828D55A36F1CDDC4BB45504F020125
[Quidway-key-code] public-key-code end
[Quidway-rsa-public-key]
1.2.4 public-key-code end
Syntax
public-key-code end
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 client 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 quidway003
[Quidway-rsa-public-key] public-key-code begin
[Quidway-rsa-key-code] public-key-code end
[Quidway-rsa-public-key]
Huawei Technologies Proprietary
1-22
Chapter 1 SSH Terminal Service
Configuration Commands