CLI Reference Guide-R01

Table Of Contents
Chapter 8
| Authentication Commands
Secure Shell
– 259 –
Command Usage
If no parameters are entered, all keys are displayed. If the user keyword is entered,
but no user name is specified, then the public keys for all users are displayed.
Example
Console#show public-key host
Host:
RSA:
-----BEGIN RSA PUBLIC KEY-----
MIIBCgKCAQEAspl/UuyjRJzxtmsLQUc28rtCzK0zxV4SACwLE4jPdJacX7yIMgyD
P+6wcj6QhZ5LYTByYLtgZ8OpvhgcTcLbOPp/LWEgII+ntzUiJGIqgXgggZtWWsTp
XC9WXgHzknKAvfI0zk2Ec/x4ryvSlWazEb0ygnozDPc8ZRV2iST+nzAKSCb3Oii3
SmpGk/NOzFK4OK3ouX1692PfB64QSDXyi1BcmR0nMU943xC/F8JPtLKxQLiZSnSa
Ef1dcbOIXHKd7dedw4MauUhzDznIawAEu6R4d2HSjxDM9pOIio8he860+S8gpBSN
9kSgNXU7o3BarVvYZo2hPaEOLAFBv+tklQIDAQAB
-----END RSA PUBLIC KEY-----
Console#
show ssh This command displays the current SSH server connections.
Command Mode
Privileged Exec
Example
Console#show ssh
Connection Version State Username Encryption
1 2.0 Session-Started admin ctos aes128-cbc-hmac-md5
stoc aes128-cbc-hmac-md5
Console#
Table 48: show ssh - display description
Field Description
Connection The session number. A total of eight SSH and Telnet sessions are allowed.
Version The Secure Shell version number.
State The authentication negotiation state.
(Values: Negotiation-Started, Authentication-Started, Session-Started)
Username The user name of the client.