Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
SSH.Disconnect
Disconnects the session.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
SSH | 6.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "SSH.Disconnect"; SSH { ; Description; Reason; Lang } ) More
Parameters
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 |
Result
Returns OK or error.
Description
Disconnects the session.Examples
Disconnect:
Set Variable [$r; Value:MBS( "SSH.Disconnect"; $ssh )]
See also
- MongoDB.Connect
- SQL.Connect
- SQL.Disconnect
- SSH.Connect
- SSH.Execute
- SSH.New
- SSH.Tunnel.Run
- TAPI.Disconnect
Example Databases
This function checks for a license.
Created 29th May 2016, last changed 25th June 2022