Verifying the Status of the Secure Shell Connection Procedure The following sample output from the show ssh command displays status of various SSH Version 1 and Version 2 connections for Version 1 and Version 2 connections:
----------------------------------------------------------------------- Device# show ssh Connection Version Encryption State Username 0 1.5 3DES Session started lab Connection Version Mode Encryption Hmac State Username 1 2.0 IN aes128-cbc hmac-md5 Session started lab 1 2.0 OUT aes128-cbc hmac-md5 Session started lab ------------------------------------------------------------------------- The following sample output from the show ssh command displays status of various SSH Version 1 and Version 2 connections for a Version 2 connection with no Version 1 connection:
------------------------------------------------------------------------- Device# show ssh Connection Version Mode Encryption Hmac State Username 1 2.0 IN aes128-cbc hmac-md5 Session started lab 1 2.0 OUT aes128-cbc hmac-md5 Session started lab %No SSHv1 server connections running. ------------------------------------------------------------------------- Secure Shell Version 2 Support Verifying the Status of the Secure Shell Connection Command or Action Purpose Example: Device# ssh -v 2 -c aes256-ctr -m hmac-sha1-96 -l user2 10.76.82.24 Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. Enter your password, if prompted. Step 2 show ssh Example:
Device# show ssh Displays the status of SSH server connections. Step 3 exit Example: Device# exit Exits privileged EXEC mode and returns to user EXEC mode. Secure Shell Version 2 Support 12