Command Manual –SSH Terminal Service
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 SSH Terminal Service
Configuration Commands
Huawei Technologies Proprietary
1-8
1.1.8 public-key-code begin
Syntax
public-key-code begin
View
Public key view
Parameter
None
Description
Use the
public-key-code begin
command to enter public key edit view and input the
client public key.
You can key in a blank space between characters (since the system can remove the
blank space automatically), or press <Enter> to continue your input at the next line. But
the public key, which is generated randomly by the SSHv2.0-supporting client software,
should be composed of hexadecimal characters.
Related command:
rsa peer-public-key
,
public-key-code end
.
Example
# Enter public key edit view and input client 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-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.1.9 public-key-code end
Syntax
public-key-code end