SSH.GetPort
-----------

Queries port used to connect.

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

MBS( "SSH.GetPort"; SSH ) 

**MBS**( **"SSH.GetPort"** /\* Queries port used to connect. \*/  
**$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 number or error.

### Description

Queries port used to connect.  
This function is free to use.

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

  
[SSH.GetIP](SSHGetIP.md) - [SSH.GetTag](SSHGetTag.md)

[HTML Version](SSHGetPort.shtml)