Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Guide That Contains This Content
[+] Expand All
[-] Collapse All

    disconnect ssh


    disconnect ssh { vty vtyId | sessionId }

    Release Information

    Command introduced before JunosE Release 7.1.0.


    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.


    • 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


    Privileged Exec

    Published: 2014-08-14