3com 8807 Reference Guide

Page of 1099
SSH Server Configuration Commands
945
Example
# Display the public key of the server’s host key pair and server key pair.
<SW8800> display rsa local-key-pair public
 
% Key pair was generated at: 12:26:33 UTC 2002/4/4
 
 Key name: rtvrp_Host
 
 Usage: Encryption Key
 
 Key Data:
 
30470240 AF7DB1D0 DA78944F 53B7B59B 40D425D0 DC9C57D2 A60916C2 
 
1F165807 08B84DDB 5F4DB8E7 A115B74E 2D41D96C AC61D276 AA027E41 
 
DD48DE64 696E0934 EB872805 02030100 01
 
% Key pair was generated at: 12:26:45 UTC 2002/4/4
 
 Key name: rtvrp_Server
 
 Usage: Encryption Key
 
 Key Data:
 
30670260 C05280D9 BA0D56C8 7BE43379 8634CDE7 83ABA9A2 3F36280E 
 
25995487 4FF6AD7A 0E57871C 761E6D92 9914D8C5 CC577388 5B580B94 
 
C2172C8F 36039EED 160A0478 651DED3A 9CCF1AAD D800AAF2 DF7FBEC4 
 
A13ADA59 9E738319 AF366B8B 519D39F5 02030100 01 
display rsa 
peer-public-key
Syntax
display rsa peer-public-key [ brief | name keyname ]
View
Any view
Parameter
brief: Displays the brief information about all client public keys.
keyname: Public key name of the client to be displayed. The key name is a 
consecutive string whose length ranges from 1 to 64 characters.
Description
Use the display rsa peer-public-key command to display the public key of RSA 
key pair specified by the client. If you do not specify the keyname argument, all 
public keys will be displayed.
Related command: rsa local-key-pair create.
Example
# Display the public key of the specified RSA key pair of the client.
<SW8800> display rsa peer-public-key brief
 
Address        Bits   Name
 
                1023   abcd
 
                1024   hq
 
                1024   wn1
 
                1024   hq_all 
# Display the public key of the specified RSA key pair named abcd of the client.
<SW8800> display rsa peer-public-key name 127.0.0.1
 
=====================================
 
    Key name: 127.0.0.1
 
    Key address: