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.UserAuthList

List supported authentication methods.

Component Version macOS Windows Linux Server iOS SDK
SSH 6.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "SSH.UserAuthList"; SSH; Username )   More

Parameters

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

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


SSH.UserAuthKeyboardInteractive - SSH.UserAuthPassword

Feedback: Report problem or ask question.