Add SSH_OPTIONS_xxx_AUTH checks in auth functions

Fix #212

Add SSH_OPTIONS_{PASSWORD,PUBKEY,KBDINT,GSSAPI}_AUTH checks to public auth functions. The new gates do not modify supported_methods and the existing publickey_auto behavior is preserved.

Checklist

  • Commits have Signed-off-by: with name/author being identical to the commit author
  • Code modified for feature
  • Test suite updated with functionality tests
  • Test suite updated with negative tests
  • Documentation updated
  • The project pipelines timeout is extended at least to 2 hours.

Reviewer's checklist:

  • Any issues marked for closing are addressed
  • There is a test suite reasonably covering new functionality or modifications
  • Function naming, parameters, return values, types, etc., are consistent and according to CONTRIBUTING.md
  • This feature/change has adequate documentation added
  • No obvious mistakes in the code

Merge request reports

Loading