Return SSH item proxy support

XMLWordPrintable

    • S25-W36/37
    • 2

      A customer reports that they have some hosts that can only be accessed from one particular device in their network, something that is called the "jump-host", and those hosts can only be accessed using SSH.

      Prior to version 7.0.17, they were successfully using SSH items like this:

      And what made this item work by going to the end device through the "jump-host", was this ssh configuration (in .ssh/config file) that was created for "zabbix" user in the Server/Proxy:

      Host whatever*.domain
        ProxyCommand ssh -q -oStrictHostKeyChecking=No special_user@jump-host /bin/nc %h %p
      

      Since 7.0.17 it now doesn't work, outputting this message:

      Cannot connect to SSH server: getaddrinfo() failed for 'whatever34.domain': [1] Unknown host
      

      This issue arose for them in version 7.0.17 due to this ZBX:
      https://support.zabbix.com/browse/ZBX-26571

      Specifically, the issue appears to happen because due to this change, DNS names are now resolved by Zabbix, rather than SSH itself.

            Assignee:
            Artjoms Elons Tatsu
            Reporter:
            Tomass Janis Bross
            Team B
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 16h Original Estimate - 16h
                16h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 25.5h
                25.5h