Verify and Display SSH Configuration Information
Verify that SSH services are enabled on the switch and display SSH configuration information to ensure that the SSH parameters are properly configured.
Procedure
Example
Display global system SSH information:
Switch:1(config)#show ssh global Total Active Sessions : 0 version : v2only port : 22 max-sessions : 4 timeout : 60 action rsa-host key : rsa-hostkeysize 2048 action dsa-host key : dsa-hostkeysize 1024 rsa-auth : true dsa-auth : true pass-auth : true keyboard-interactive-auth : false x509-auth : true x509-auth Trustpoint CA Name : x509-auth Identity Subject Name : 823 x509-auth overwrite : false x509-auth strip-domain : false x509-auth use-domain : - x509-auth revocation-check-method : OCSP sftp enable : true client enable : true enable : false authentication-type : aead-aes-128-gcm-ssh aead-aes-256-gcm-ssh hmac-sha1 hmac-sha2-256 encryption-type : 3des-cbc aead-aes-128-gcm-ssh aead-aes-256-gcm-ssh aes128-cbc aes128-ctr aes192-cbc aes192-ctr aes256-cbc aes256-ctr blowfish-cbc rijndael128-cbc rijndael192-cbc key-exchange-method : diffie-hellman-group14-sha1 diffie-hellman-group-exchange-sha256
Variable Definitions
The following table defines parameters for the show ssh command.
Variable |
Value |
---|---|
global |
Display global system SSH information. |
session |
Display the current session SSH information. |