Ad Widget

Collapse

Keyboard-interactive authentication failed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yatta
    Member
    • Feb 2022
    • 82

    #1

    Keyboard-interactive authentication failed

    Hi,
    I've been connecting servers via SSH and running a script on target servers and creating alerts, but suddenly Zabbix throws the error below;

    "Keyboard-interactive authentication failed: Access denied for 'keyboard interactive'. Authentication that can continue: publickey,keyboard-interactive"

    The script in the Item is below;

    Code:
    #!/bin/bash
    echo {$SSH.USER.PASSWORD} | sudo -S sh /opt/app/test.sh
    I can successfully connect to the target via SSH from the Zabbix server.

    Any idea why?
  • yatta
    Member
    • Feb 2022
    • 82

    #2
    Hello, any help about this issue?

    Comment

    • vladimir_lv
      Senior Member
      • May 2022
      • 240

      #3
      Just add to your sshd_config the following:

      Code:
      KbdInteractiveAuthentication yes

      Comment

      Working...