show ip ssh

This command displays the SSH settings.

Format show ip ssh
Mode Privileged EXEC
Administrative Mode This field indicates whether the administrative mode of SSH is enabled or disabled.
SSH Port The SSH port.
Protocol Level The protocol level may have the values of version 1, version 2 or both versions 1 and version 2.
SSH Sessions Currently Active The number of SSH sessions currently active.
Max SSH Sessions Allowed The maximum number of SSH sessions allowed.
SSH Timeout The SSH timeout value in minutes.
Keys Present Whether the SSH RSA and DSA key files are present on the device.
Key Generation in Progress Whether RSA or DSA key files generation is currently in progress.