SSH.FreeChannel
---------------

Frees the SSH channel.

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

MBS( "SSH.FreeChannel"; SSH ) 

**MBS**( **"SSH.FreeChannel";** /\* Frees the SSH channel. \*/  
**$SSH**) /\* The SSH session reference number from the plugin. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| SSH | The SSH session reference number from the plugin. | $ssh |

### Result

Returns OK or error.

### Description

Frees the SSH channel.  
This is done automatically when you release the connection with [SSH.Release](SSHRelease.md) or you start a new channel with [SSH.OpenSession](SSHOpenSession.md).  
### See also

- [SSH.CloseChannel](SSHCloseChannel.md)
- [SSH.OpenSession](SSHOpenSession.md)
- [SSH.Release](SSHRelease.md)

This function checks for a license.

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

  
[SSH.Flush](SSHFlush.md) - [SSH.GetExitState](SSHGetExitState.md)

[HTML Version](SSHFreeChannel.shtml)