disconnect ssh
Syntax
disconnect ssh { vty vtyId | sessionId }
Release Information
Command introduced before JunosE Release 7.1.0.
Description
Terminates an active SSH session. Use the show ip ssh command to determine the session identifier for the session to terminate. There is no no version.
![]() | 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. |
Options
- vtyId—Virtual terminal identifier for VTY where the SSH session resides; use the show users command to determine the identifier
- sessionId—Integer in the range 0–4294967295 that identifies the session to be terminated
Mode
Privileged Exec