You can use the session identifier to terminate an SSH session.
disconnect ssh
- host1(config)#disconnect ssh 12
![]() |
Note: You can also use the clear line vty terminal command to terminate SSH sessions. In that case, use the show users command to determine the virtual terminal number to specify with the clear line vty terminal command. |