authenticatePassword

suspend fun authenticatePassword(username: String, password: String): AuthResult(source)

Authenticate using password authentication.

Return

AuthResult indicating success or failure

AuthResult.Error if connect has not been called successfully

Parameters

username

SSH username

password

SSH password