Kill An SSH Connection
Check what’s connected to the switch first:
#show ssh
%No SSHv1 server connections running.
Connection Version Mode Encryption Hmac State Username
0 2.0 IN aes128-cbc hmac-md5 Session started user1
0 2.0 OUT aes128-cbc hmac-md5 Session started user1
1 2.0 IN aes128-cbc hmac-md5 Session started user1
1 2.0 OUT aes128-cbc hmac-md5 Session started user1
Kill session using “disconnect” command:
#disconnect ssh ?
The number of the active SSH connection
vty Virtual terminal
#disconnect ssh 0
