# 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.

#### 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