SSH.UserAuthKeyboardInteractive
-------------------------------

Authenticate a session using keyboard-interactive authentication.

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

MBS( "SSH.UserAuthKeyboardInteractive"; SSH; UserName; Password ) 

**MBS**( **"SSH.UserAuthKeyboardInteractive";** /\* Authenticate a session using keyboard-interactive authentication. \*/  
**$SSH**; /\* The SSH session reference number from the plugin. \*/   
**$UserName**; /\* Name of user to attempt plain password authentication for.e.g. "cs" \*/   
**$Password**) /\* Password to use for authenticating username.e.g. "test" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| SSH | The SSH session reference number from the plugin. | $ssh |
| UserName | Name of user to attempt plain password authentication for. | "cs" |
| Password | Password to use for authenticating username. | "test" |

### Result

Returns OK or error.

### Description

Authenticate a session using keyboard-interactive authentication.  
The server will send question to plugin and plugin answers with the given password.  
### Examples

Login interactively:

 Set Variable \[$r ; Value:MBS ( "SSH.UserAuthKeyboardInteractive"; $ssh ; SSH::Username ; SSH::Password )\]  
### See also

- [SSH.Connect](SSHConnect.md)
- [SSH.Execute](SSHExecute.md)
- [SSH.New](SSHNew.md)

### Example Databases

- [Network/SSH Tunnel](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Network/SSH%20Tunnel.shtml#1ScriptAnchor_)
- [Network/SSH](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Network/SSH.shtml#1ScriptAnchor_)

This function checks for a license.

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

  
[SSH.Tunnel.SetKeepAlive](SSHTunnelSetKeepAlive.md) - [SSH.UserAuthList](SSHUserAuthList.md)

[HTML Version](SSHUserAuthKeyboardInteractive.shtml)