show ssh2 private-key

show ssh2 private-key


Displays the ssh2 server‘s private key.

Syntax Description

This command has no arguments or variables.



Usage Guidelines

This command displays the ssh server‘s private key which can be used to configure the key later or on another switch by using the configure ssh2 key {pregenerated} command. The key is saved in the switch‘s EEPROM.

To erase the key from the EEPROM, use the unconfigure switch command.


This command was first available in ExtremeXOS 12.1.

This command was added to ExtremeXOS 11.6 SR, and ExtremeXOS 12.0 SR.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5320, 5420, and 5520 series switches.