Command Line Interface

4-40

4
Example
Related Commands
ip ssh crypto host-key generate (4-38)

show ip ssh

This command displays the connection settings used when authenticating client
access to the SSH server.
Command Mode
Privileged Exec
Example

show ssh

This command displays the current SSH server connections.
Command Mode
Privileged Exec
Example
Console#ip ssh save host-key dsa
Console#
Console#show ip ssh
SSH Enabled - version 1.99
Negotiation timeout: 120 secs; Authentication retries: 3
Server key size: 768 bits
Console#
Console#show ssh
Connection Version State Username Encryption
0 2.0 Session-Started admin ctos aes128-cbc-hmac-md5
stoc aes128-cbc-hmac-md5
Console#
Table 4-16 show ssh - display description
Field Description
Session The session number. (Range: 0-3)
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.