SSH.GetIP
---------

Queries IP or domain 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.GetIP"; SSH ) 

**MBS**( **"SSH.GetIP";** /\* Queries IP or domain 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 IP or error.

### Description

Queries IP or domain used to connect.  
This function checks for a license.

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

  
[SSH.GetExitState](SSHGetExitState.md) - [SSH.GetPort](SSHGetPort.md)

[HTML Version](SSHGetIP.shtml)