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.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3    Statistic  

SSH.UserAuthList

List supported authentication methods.

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

MBS( "SSH.UserAuthList"; SSH; Username )

Parameters

Parameter Description Example value
SSH The SSH session reference number from the plugin. $ssh
Username Username which will be used while authenticating. Note that most server implementations do not permit attempting authentication with different usernames between requests. Therefore this must be the same username you will use on later userauth calls. "cs"

Result

Returns OK or error.

Description

List supported authentication methods.
Send a SSH_USERAUTH_NONE request to the remote host. Unless the remote host is configured to accept none as a viable authentication scheme (unlikely), it will return SSH_USERAUTH_FAILURE along with a listing of what authentication schemes it does support. In the unlikely event that none authentication succeeds, this method with return "". This case may be distinguished from a failing case by examining Authenticated.

Examples

Query authentication list:

Set Variable [$authuserlist; Value:MBS( "SSH.UserAuthList"; $ssh; SSH::Username)]

See also


SSH.UserAuthKeyboardInteractive   -   SSH.UserAuthPassword

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins