Ad Widget

Collapse

Cannot connect to old systems in SSH

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • syntesys
    Junior Member
    • Oct 2023
    • 1

    #1

    Cannot connect to old systems in SSH

    Hello all,

    I'm configuring in a custom template a new item that executes an ssh agent to get the result of a command. I'm using a public key RSA 2048 SHA256, but in connection with old systems I receive the error
    Code:
    Public key try failed: The key algorithm 'ssh-rsa' is not allowed to be used by PUBLICKEY_ACCEPTED_TYPES configuration option
    Note that using that key from bash, everything works good.

    How can I resolve this?

    I'm using a Debian 12 system with zabbix server 6.4.7 and the other system has a Raspbian jessie.

    Thank you.
  • vijayk
    Senior Member
    • May 2023
    • 305

    #2
    Originally posted by syntesys
    Hello all,

    I'm configuring in a custom template a new item that executes an ssh agent to get the result of a command. I'm using a public key RSA 2048 SHA256, but in connection with old systems I receive the error
    Code:
    Public key try failed: The key algorithm 'ssh-rsa' is not allowed to be used by PUBLICKEY_ACCEPTED_TYPES configuration option
    Note that using that key from bash, everything works good.

    How can I resolve this?

    I'm using a Debian 12 system with zabbix server 6.4.7 and the other system has a Raspbian jessie.

    Thank you.
    Not sure but you can check with this link.

    Comment

    • dimir
      Zabbix developer
      • Apr 2011
      • 1080

      #3
      You say from command line it works, you mean when using user zabbix? You can control ssh client setting in the $HOME/.ssh/config file. Perhaps you need to set up a home directory for user zabbix and add this config file where you can control algorithms and other things.

      Comment

      • airween
        Junior Member
        • Oct 2023
        • 11

        #4
        syntesys

        could you solve this issue?

        If yes, what was the solution?

        I'm facing with the same problem. Thanks!

        Comment

        Working...