3com 5500-ei pwr Reference Guide

Page of 1314
 
1-5 
    D0FC303F 51072D6C B5D0054D 3673EBA0 A4748984 
    5EBF6EBE CF6A13B1 C7858241 A2A9AA79 
  0203 
    010001     
 
 
After you complete the RSA key pair generation task: 
If the switch is working in SSH1-compatible mode, there should be two public keys generated (that 
is, the host public key and the server public key), and the display rsa local-key-pair public 
command should display those two public keys. 
If the switch is working in SSH2 mode, there should be only one public key generated (that is, the 
host public key), and the command should display the public key. 
 
display rsa peer-public-key 
Syntax 
display rsa peer-public-key [ brief | name keyname ] 
View 
Any view 
Parameters 
brief: Displays brief information about the public keys of all SSH peers. 
keyname: Specifies a key by its name, which is a string of 1 to 64 characters. 
Description 
Use the display rsa peer-public-key command to display information about the locally saved public 
keys of all SSH peers. If no key name is specified, the command displays detailed information about the 
locally saved public keys of all SSH peers.  
The display rsa peer-public-key command on the SSH server displays the locally saved public keys 
of the SSH clients while the command on the SSH client displays the locally saved key of the SSH 
servers. 
 
 
Sometimes the public key modulus displayed with the display rsa peer-public-key command is one bit 
smaller than the actual modulus. This is because the actually generated key pair is one bit smaller than 
specified. For example, when you specify a 1024-bit key pair, the actually generated key pair may have 
1024 or 1023 bits.