Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

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

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


SSH.UserAuthList - SSH.UserAuthPublicKey

Feedback: Report problem or ask question.