Verify that Secure Shell (SSH) services are enabled on the switch and display SSH configuration information to ensure that the SSH parameters are properly configured.
show ssh <global|session>
show ssh global
show ssh session
None
User EXEC
The show ssh global command displays the following information:
Output field |
Description |
---|---|
Total active sessions |
Specifies the number of active SSH sessions underway. |
version |
Specifies if SSH is version 1 or version 2. The default is v2. As a best practice, configure the version to v2 only. |
port |
Specifies the SSH connection port. The default is 22. You cannot configure the following TCP ports as SSH connection ports: 0 to 1024 (except port 22), 1100, 4095, 5000, 5111, 6000, or 999. |
max-sessions |
Specifies the maximum number of SSH sessions allowed. The default is 4. |
timeout |
Specifies the SSH connection authentication timeout in seconds. The default is 60 seconds. |
action rsa-keygen |
Specifies the SSH RSA key size. |
action dsa-keygen |
Specifies the SSH DSA key size. |
rsa-auth |
Specifies if RSA authentication is enabled or disabled. The default is enabled. |
dsa-auth |
Specifies if DSA authentication is enabled or disabled. The default is enabled. |
pass-auth |
Specifies if password authentication is enabled or disabled. The default is enabled. |
enable |
Specifies if SSH secure mode is enabled. False is disabled. Secure is enabled. |