19 show rsa key – CANOGA PERKINS CanogaOS Command Reference User Manual
Page 755

CanogaOS Command Line Reference
Revision 1.02
Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches
Page 755 of 855
Command Mode
Global configuration
Usage
Use the rsa key generate command to generate a key.
Examples
The following example shows to import the key KEY1 to flash as a public key:
Switch(config)# rsa key KEY1 import url flash:/key1.pub public ssh2
The following example shows to import the key KEY2 to flash as a private key:
Switch(config)# rsa key KEY2 import url flash:/key1 private ssh1
Related Commands
rsa key generate
rsa key export
40.19 show rsa key
To display the details of the keys, use the show rsa key command in Privileged EXEC mode.
Command Syntax
show rsa key keyname
keyname
Specify the key name to display.
Command Mode
Privileged EXEC
Usage
Use the rsa key generate command to generate a key.
Examples
The following example displays the detailed information of the key named “KEY1”
Switch# show rsa key KEY1
RSA key information:
============================================================
Name: KEY1
Type: private
Modulus: 1024 bit
Usage count: 0
Private key DER code:
30820258