Example
The following example displays the SSH server configuration.
Console# show ip ssh
SSH server enabled. Port: 22
RSA key was generated.
DSA (DSS) key was generated.
SSH Public Key Authentication is enabled.
Active incoming sessions:
IP address SSH username Version Cipher Auth Code
---------- ------------ ------- ------ ---------
172.16.0.1 John Brown
The following table describes the significant fields shown in the display:
Field
IP address
SSH username
Version
Cipher
Auth Code
show crypto key mypubkey
The show crypto key mypubkey privileged EXEC command displays the SSH public keys on the
device.
Syntax
show crypto key mypubkey [rsa | dsa]
•
rsa—RSA key.
•
dsa—DSA key.
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC mode
2.0 3
DES
Description
Client address
User name
SSH version number
Encryption type (3DES, Blowfish, RC4)
Authentication Code (HMAC-MD5, HMAC-SHA1)
HMAC-SH1
407
SSH Commands