Parameter | Description | Value |
---|---|---|
brief |
Displays the brief information of all rsa key-pairs in the system. |
- |
label label-name |
Specifies the key-pair label-name. |
The value is a string of 1 to 35 case-insensitive characters, spaces not supported. When quotation marks are used around the string, spaces are allowed in the string. |
Usage Scenario
To display all the information about the RSA key pairs of the device functioning as an SSH client, run the display rsa key-pair command. Then, manually copy the displayed public key information to the server to enable the server to authenticate users and permit the login requests of authorized users.
Prerequisites
Before running the display rsa key-pair command, run the rsa key-pair label command to generate RSA key pairs.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display rsa key-pair
=====================================
Label name: def
Modulus: 2048
Time of Key pair created: 2016-03-03 19:44:12
=====================================
Key :
3082010A 02820101 00E4148A 80CF3B46 E03F778D 9C2B4711 1E620F36
E3B78625 48545D1B 683D441C 2DBEFD67 9B9A7F29 ACB9A012 5EB55978
1EAE61E8 817654BB 9A283429 2547C5F4 E030263A E75CC6D5 9B992A78
B54FDF7D 83A85148 53D29A5E 2CC435AD 3A3C7AA6 B532F164 204159B0
20A02685 202C3160 39CA1188 3F788874 798681E9 3D8E63D7 B043DA6A
A8C4790F 780F8498 5BB5769B 1577C182 B4934996 0EAB7360 9EC0E457
F207566F D46D732A 25E47595 54989B8B 96BD0307 4BFD4A74 E7D4471C
E08430D1 F8262147 9EAE6D0F C8E6E9EC A38D3A1E B11AE43E 0A8C8BA7
C63AE786 FCBA5748 4E597BF5 26897B0F 989C87D4 B0F310D3 6D2087A2
39F8F031 4C8D954E 129D3132 87020301 0001
=====================================
=====================================
Label name: sss
Modulus: 2048
Time of Key pair created: 2016-03-03 19:49:35
=====================================
Key :
3082010A 02820101 00C9B322 EB12D641 DA01588F D0819796 A52833A1
E6953094 0C7FDB65 BE4ABB0E A1CF05E5 F0E4038B FC9AC9AD 2713FD6F
AA01AC6C 75FEEA62 F316C575 E663C8DB 86589878 DE14B300 829C0B1B
A3BF7C73 E41815B0 49DE5810 2854D4A9 2DA2EA37 8635800A C65E489D
90824A27 4AF92185 B4C6E47E DA7C7278 AE056F26 AE0EC4D8 43ADA2C7
AC5DE13E 56FE6D2B CE8C5024 A1E04048 66FAC855 406CCF67 C50D9370
7B2AA355 9A219017 906795E0 741062C2 3BC4E0F4 68FB5E8A 1648B883
B6C77F53 4F37D3B5 B68761FD 7A686514 6B5FFE60 138FF8EA 009B4733
90AAB82C E1C8A2F6 400488D7 A1D7C756 64C3C5BC B0E13A10 AE72D7B5
310F64ED B534DD1F CA4CEED1 93020301 0001
=====================================
<HUAWEI> display rsa key-pair brief
=====================================
Label name: def
Time of Key pair created: 2016-03-03 19:44:12
=====================================
=====================================
Label name: sss
Time of Key pair created: 2016-03-03 19:49:35
=====================================
<HUAWEI> display rsa key-pair label def
=====================================
Label name: def
Time of Key pair created: 2016-03-03 19:44:12
=====================================
Key Code :
3082010A 02820101 00E4148A 80CF3B46 E03F778D 9C2B4711 1E620F36
E3B78625 48545D1B 683D441C 2DBEFD67 9B9A7F29 ACB9A012 5EB55978
1EAE61E8 817654BB 9A283429 2547C5F4 E030263A E75CC6D5 9B992A78
B54FDF7D 83A85148 53D29A5E 2CC435AD 3A3C7AA6 B532F164 204159B0
20A02685 202C3160 39CA1188 3F788874 798681E9 3D8E63D7 B043DA6A
A8C4790F 780F8498 5BB5769B 1577C182 B4934996 0EAB7360 9EC0E457
F207566F D46D732A 25E47595 54989B8B 96BD0307 4BFD4A74 E7D4471C
E08430D1 F8262147 9EAE6D0F C8E6E9EC A38D3A1E B11AE43E 0A8C8BA7
C63AE786 FCBA5748 4E597BF5 26897B0F 989C87D4 B0F310D3 6D2087A2
39F8F031 4C8D954E 129D3132 87020301 0001
=====================================
Item | Description |
---|---|
Label name | Indicates the label-name. |
Time of Key pair created | Indicates the creation time of the key-pair. |
Key | Indicates the rsa public key. |
Key Code | Code of a rsa public key. |
Modulus | Indicates the modulus of a key-pair. |