Uploaded image for project: 'MINA SSHD'
  1. MINA SSHD
  2. SSHD-74

Even if I do setPublicKeyAuthenticator(null) (or setPasswordAuthenticator(null)) Apache SSHD still reports that it supports that kind of authentication

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.4.0
    • None

    Description

      Even if I do setPublicKeyAuthenticator(null) (or setPasswordAuthenticator(null)) Apache SSHD still reports that it supports that kind of authentication

      While this is no security problem it is still annoying. If I try to log in using my private key and the public key authenticator is set to null I still get

      debug1: Authentications that can continue: password,publickey
      debug3: start over, passed a different list password,publickey
      debug3: preferred gssapi-with-mic,publickey,keyboard-interactive,password
      debug3: authmethod_lookup publickey
      debug3: remaining preferred: keyboard-interactive,password
      debug3: authmethod_is_enabled publickey
      debug1: Next authentication method: publickey
      debug1: Trying private key: private-key

      from SSHD.

      This is confusing. I DON'T want SSHD to tell me publickey authentication if there is no authenticator. Symmetrical problem with password authentications.

      Attachments

        Activity

          People

            gnodet Guillaume Nodet
            lagergren Marcus Lagergren
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: