SSH.RequestPTY
--------------

Request a PTY on an established channel.

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

MBS( "SSH.RequestPTY"; SSH ) 

**MBS**( **"SSH.RequestPTY";** /\* Request a PTY on an established 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

Request a PTY on an established channel.  
Note that this does not make sense for all channel types and may be ignored by the server despite returning success.  
This function checks for a license.

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

  
[SSH.ReleaseAll](SSHReleaseAll.md) - [SSH.SendEOF](SSHSendEOF.md)

[HTML Version](SSHRequestPTY.shtml)