Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-17301

Zabbix ssh.run authentication method issue

    XMLWordPrintable

Details

    • Problem report
    • Status: Closed
    • Trivial
    • Resolution: Incomplete
    • 4.4.5
    • None
    • Proxy (P), Server (S)
    • None
    • CentOS Linux release 7.7.1908 (Core)
      zabbix_proxy (Zabbix) 4.4.5
      libssh2-1.8.0-3.el7.x86_64

    Description

      Steps to reproduce:

      1. Enable password authentication on ssh server 
      2.  17708:20200211:161135.672 ssh_run() supported authentication methods:'publickey,password'
      3. ssh_run() works fine
      4. Disable password auth on ssh server (pubkey only)
      5. 17118:20200211:154935.628 ssh_run() supported authentication methods:'publickey'
        17118:20200211:154935.631 End of ssh_run():NOTSUPPORTED
        17118:20200211:154935.631 Item [www1.stride.ws:ssh.run[apache procs]] error: Public key authentication failed: Invalid signature for supplied public key, or bad username/public key combination

      Result:
      Can't login with pubkey when ONLY pubkey allowed (auth_pw & 4)

      Can login with pubkey when pubkey & password allowed (auth_pw & 1) - even though no password set and using pubkey auth

      Expected:
      Can login with pubkey when ONLY pubkey allowed (auth_pw & 4)

      Can login with pubkey when pubkey & password allowed (auth_pw & 1) - even though no password set and using pubkey auth

      Attachments

        Issue Links

          Activity

            People

              edgar.akhmetshin Edgar Akhmetshin
              neoflamez Scott Nursten
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: