kill

Terminates active CLI sessions.
Syntax
kill console { all | unit-number }
kill { ssh { all | session-number } | telnet session-number }
Parameters
console
Logs out console sessions in a stack.
all
For console, logs out all console ports on stack units that are not the Active Controller. For SSH, terminates all active SSH sessions.
unit-number
Logs out the console port on a specified unit.
ssh
Terminates an active SSH session.
telnet
Terminates an active Telnet session.
session-number
The Telnet or SSH session number.
Modes

Privileged EXEC mode

Usage Guidelines

Once the AAA console is enabled, you should log out any open console ports on your traditional stack using the kill console command.

Examples

The following example shows how to log out from all console ports on stack units that are not the Active Controller.

device# kill console all

The following example shows how to terminate an active SSH connection.

device# kill ssh 1