Command Manual - System Management
Quidway S3500 Series Ethernet Switches
Parameter
None
Description
Using the public-key-code begin command, you can enter public key edit view.
Before using this command, you have to create a public key with the rsa
peer-public-key command. In the public key edit 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 public key view and key in public key.
<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] 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
[Quidway-rsa-public-key]
8.1.9 public-key-code end
Command
public-key-code end
View
Public key edit view
Parameter
None
Description
Using the public-key-code end command, you can save the configured public key and
return to the public key view from the public key edit view.
Huawei Technologies Proprietary
8-7
Chapter 8 SSH Configuration Commands