show ssh key
show ssh key
To display the Secure Shell (SSH) server key for a virtual device context (VDC), use the show ssh key
command.
show ssh key
Syntax Description
This command has no arguments or keywords.
Command Default
None
Command Modes
Any command mode
Command History
Release
4.0(1)
Usage Guidelines
This command is available only when SSH is enabled using the feature ssh command.
This command does not require a license.
Examples
This example shows how to display the SSH server key:
switch# show ssh key
**************************************
rsa Keys generated:Wed Aug 11 11:45:14 2010
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQDypfN6FSHZDbFPWEoz7sgWCamhfoqjqYNoZMvySSb4
056LhWZ75D90KPo+G+XTo7QAyQMpLJSkwKcRkidgD4lwJaDd/Ic/Sl5SJ3i0jyM61Bwvi+8+J3JoIdft
AvgH47GT5BdDD6hM7aUHq+efSQSq8pGyDAR4Cw6UdY9HNAWoTw==
bitcount:1024
fingerprint:
cd:8d:e3:0c:2a:df:58:d3:6e:9c:bd:72:75:3f:2e:45
**************************************
could not retrieve dsa key information
**************************************
Related Commands
Command
ssh server key
Cisco Nexus 7000 Series Security Command Reference
894
Modification
This command was introduced.
Description
Configures the SSH server key.
Show Commands