Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
SSH.UserAuthPassword
Authenticate a session with username and password.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
SSH | 6.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "SSH.UserAuthPassword"; SSH; Username; Password ) More
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 with username and password.Attempt basic password authentication. Note that many SSH servers which appear to support ordinary password authentication actually have it disabled and use Keyboard Interactive authentication (routed via PAM or another authentication backed) instead.
Examples
Login with password:
Set Variable [$r; Value:MBS( "SSH.UserAuthPassword"; $ssh; SSH::Username; SSH::Password )]
See also
Example Databases
This function checks for a license.
Created 29th May 2016, last changed 30th May 2016