Display Rsa Peer-Public-Key - H3C s3600 series Command Manual

Hide thumbs Also See for s3600 series:
Table of Contents

Advertisement

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.
Sometimes the public key modulo displayed with the display rsa peer-public-key command is one bit
smaller than the actual modulo. 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.
Examples
# Display brief information about all peer public keys.
<Sysname> display rsa peer-public-key brief
1-5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents