Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

SSH.UserAuthPassword

Authenticate a session with username and password.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
SSH 6.3 Yes Yes Yes Yes Yes

MBS( "SSH.UserAuthPassword"; SSH; Username; Password )

Parameters

Parameter Description Example value
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


SSH.UserAuthList   -   SSH.UserAuthPublicKey

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins