This command displays the ssh settings.
Format | show ip ssh |
Mode | Privileged EXEC |
Parameter | Description |
---|---|
Administrative Mode | This field indicates whether the administrative mode of SSH is enabled or disabled. |
SSH Port | The SSH port. |
Protocol Level | The SSH protocol version. This field may have the values of version 1, version 2, or both version 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 | Indicates whether the SSH RSA, DSA, and ECDSA key files are present on the device. The length of the respective keys is displayed in parenthesis. |
Key Generation in Progress | Indicates whether RSA, DSA, or ECDSA key files generation is currently in progress. |
Public Key Authentication Mode | Indicates whether the password less login for the SSH client is enabled or not. |
SCP Server Administrative Mode | Indicates whether the SCP server is enabled on the switch. To allow file transfers from a host system to the switch using SCP push operations, the SCP server must be enabled. |
Example: The following shows example CLI display output for the command.
(Routing)(Config)#show ip ssh SSH Configuration Administrative Mode: .......................... Disabled SSH Port: ..................................... 22 Protocol Level: ............................... Version 2 SSH Sessions Currently Active: ................ 0 Max SSH Sessions Allowed: ..................... 5 SSH Timeout (mins): ........................... 5 Keys Present: ................................. DSA(1024) RSA(1024) ECDSA(256) Key Generation In Progress: ................... None SSH Public Key Authentication Mode: ........... Disabled SCP server Administrative Mode: ............... Disabled