Command Line Interface Guide

1682 SSH Commands
Example
The following example displays all SSH public keys stored on the switch.
console#show crypto key pubkey-chain ssh
Username Fingerprint
-------- -------------------------------------------
---------
bob 9A:CC:01:C5:78:39:27:86:79:CC:23:C5:98:59:F
1:86
john 98:F7:6E:28:F2:79:87:C8:18:F8:88:CC:F8:89:8
7:C8
The following example displays the SSH public called "dana."
console#show crypto key pubkey-chain ssh username dana
Username: dana
rsa key data:
ssh-rsa
AAAAB3NzaC1yc2EAAAABIwAAAIEAywqRKTRnexccxVUVTeMl+Gkh
imyUDhcTkgEfssLPMsgoXlTwzCE5+97UIIsSRKQQWR+pBNl45tCYd
75LUofV
4LP6Lj1Q5Q0w5lBgiqC2MZ/iBHGSsHMAE0lpYtelZprDu4uiZHMuW
ezmdQp9
a1PU4jwQ22TlcfaUq3sqC3FMUoU=
Fingerprint:
2f:09:e7:6f:c9:bf:ab:04:d4:6f:a0:eb:e8:df:7a:11
show ip ssh
Use the show ip ssh command in Privileged EXEC mode to display the SSH
server configuration.
Syntax
show ip ssh
2CSPC4.X8100-SWUM100.book Page 1682 Wednesday, August 29, 2012 6:23 PM