Ad Widget

Collapse

Configuring an SSH Agent item on a Docker-based Zabbix server

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • MBender
    Junior Member
    • May 2024
    • 5

    #1

    Configuring an SSH Agent item on a Docker-based Zabbix server

    We're trying to set up some custom SSH-based items on a Docker-hosted Zabbix server, and this is proving a bit of a challenge (possibly because the documentation seems to be aimed at the "normal" Zabbix installation, not a Docker one).

    After generating our key pairs we get the following:
    Code:
    Public key try failed: The key algorithm 'ssh-rsa' is not allowed to be used by PUBLICKEY_ACCEPTED_TYPES configuration option
    Click image for larger version

Name:	image.png
Views:	446
Size:	22.5 KB
ID:	483632
    Alas, based on Zabbix documentation for SSH checks (https://www.zabbix.com/documentation...pes/ssh_checks) the "ssh-rsa" should be a valid type. Unfortunately I'm not sure how to set these accepted types up on a Docker-based installation.

    Any hints on how to set up SSH on a Docker-based Zabbix server?
  • Answer selected by MBender at 21-05-2024, 09:48.
    MBender
    Junior Member
    • May 2024
    • 5

    I've eventually used an ed25519 key - that seems to work. Still, the documentation could use some work here. :/

    Comment

    • MBender
      Junior Member
      • May 2024
      • 5

      #2
      I've eventually used an ed25519 key - that seems to work. Still, the documentation could use some work here. :/

      Comment

      Working...