Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Disconnects the session.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
SSH | 6.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
SSH | The SSH session reference number from the plugin. | $ssh | |
Description | Human readable reason for disconnection. | Optional | |
Reason | One of the Disconnect Reason values. | Optional | |
Lang | Localization string describing the langauge/encoding of the description provided. | Optional |
Returns OK or error.
Disconnect:
Set Variable [$r; Value:MBS( "SSH.Disconnect"; $ssh )]
This function checks for a license.
Created 29th May 2016, last changed 25th June 2022