Back to product page

Authentication properties

Determines allowed authentication types.


  • Basic
object.Authentication [= value]    
The Authentication(object,value) syntax has these parts:
objectAn expression evaluating to an object of type wodSSHD.
valueAn AuthenticationsEnumenumeration, as described in settings.


The settings for value are:

Constant Value Description
authBoth0 Allow both authentications. (Obsolete, use authAny)
authAny 0 Allow both authentications.
authPassword1 Allow password/keyboard-interactive authentication.
authPubkey 2 Allow public key authentication.
authGSSAPI5 Allow Kerberos GSSAPI authentication.

This property determine client authentications allowed when user connects to wodSSHServer - when running as SSH2 server (set by Protocol property).

By default, this is set to authPassword.

This property is ignored when wodSSHServer is running as Telnet (or Raw) server.

Note: Since version 1.5.0, authPassword may actually expect keyboard-interactive authentication to be selected instead of password authentication. It depends on AuthChallenge property - if you leave it empty (it is by default) then password authentication is user. If you provide challenge details in that property, then keyboard-interactive authentication is used instead.