SSH.Flush
---------

Flush streams for this channel.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [SSH](component_SSH.md) | [6.3](newinversion63.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "SSH.Flush"; SSH { ; Mode } ) 

**MBS**( **"SSH.Flush";** /\* Flush streams for this channel. \*/  
**$SSH**; /\* The SSH session reference number from the plugin. \*/   
**$Mode**) /\* Optional; What to flush.  
Can be empty, "stdout", "stderr", "all" or "ExtendedData".e.g. "stdout" \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| SSH | The SSH session reference number from the plugin. | $ssh |  |
| Mode | What to flush.   Can be empty, "stdout", "stderr", "all" or "ExtendedData". | "stdout" | Optional |

### Result

Returns OK or error.

### Description

Flush streams for this channel.  
This function checks for a license.

Created 29th May 2016 , last changed 29th May 2016

  
[SSH.Execute](SSHExecute.md) - [SSH.FreeChannel](SSHFreeChannel.md)

[HTML Version](SSHFlush.shtml)