Public-Key-Code End - Huawei Quidway S2000 Series Command Manual

Table of Contents

Advertisement

Command Manual - System Management
Quidway S2000 Series Ethernet Switches
Description
Using the public-key-code begin command, you can enter RSA key code view.
Before using this command, you have to create a public key with the rsa
peer-public-key command. In the RSA key code view, you can key in desired public
key, which consists of hexadecimal characters, with blank space allowed between them,
and is generated randomly by the client program supporting SSH.
For the related commands, see rsa peer-public-key, public-key-code end.
Example
# Enter RSA public key view and key in public key.
[Quidway] rsa peer-public-key quidway003
[Quidway-rsa-public-key] public-key-code begin
[Quidway-rsa-key-code] 308186028180739A291ABDA704F5D93DC8FDF84C427463
[Quidway-rsa-key-code] 1991C164B0DF178C55FA833591C7D47D5381D09CE82913
[Quidway-rsa-key-code] D7EDF9C08511D83CA4ED2B30B809808EB0D1F52D045DE4
[Quidway-rsa-key-code] 0861B74A0E135523CCD74CAC61F8E58C452B2F3F2DA0DC
[Quidway-rsa-key-code] C48E3306367FE187BDD944018B3B69F3CBB0A573202C16
[Quidway-rsa-key-code] BB2FC1ACF3EC8F828D55A36F1CDDC4BB45504F020125
[Quidway-rsa-key-code] public-key-code end

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,
Chapter 8 SSH Configuration Commands
8-8

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents