Ad Widget

Collapse

ssh agent - cannot obtain authentication methods

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kefir
    Junior Member
    • Dec 2012
    • 1

    #1

    ssh agent - cannot obtain authentication methods

    Hi

    I have a some trouble with ssh agent.

    I try to do simple check with ssh.run and I got the following error message

    Code:
    23341:20121221:163804.867 Item [172.27.4.35:ssh.run[1,172.27.4.35,22,utf8]] error: Cannot obtain authentication methods: Would block requesting userauth list
     23357:20121221:163804.915 item [172.27.4.35:ssh.run[1,172.27.4.35,22,utf8]] became not supported: Cannot obtain authentication methods: Would block requesting userauth list
    I am running on

    Code:
    24416:20121221:165249.452 Starting Zabbix Server. Zabbix 2.0.4 (revision 31984).
     24416:20121221:165249.453 ****** Enabled features ******
     24416:20121221:165249.453 SNMP monitoring:           YES
     24416:20121221:165249.453 IPMI monitoring:            NO
     24416:20121221:165249.453 WEB monitoring:            YES
     24416:20121221:165249.453 Jabber notifications:       NO
     24416:20121221:165249.453 Ez Texting notifications:  YES
     24416:20121221:165249.453 ODBC:                       NO
     24416:20121221:165249.453 SSH2 support:              YES
     24416:20121221:165249.453 IPv6 support:               NO
     24416:20121221:165249.453 ******************************
    I does not matter if i use public key or password, the same result.

    Do you have any idea whats is wrong ?

    Thank you
  • mefisto74
    Junior Member
    • Feb 2023
    • 3

    #2
    same problem. where are settings for zabbix ssh agent encryption?
    i want to type something like this in .ssh/config file
    Host 192.168.1.150
    User adm
    PubkeyAcceptedAlgorithms +ssh-rsa
    HostkeyAlgorithms +ssh-rsa
    KexAlgorithms +diffie-hellman-group1-sha1
    Ciphers +aes256-cbc​

    to make it work. but where? zabbix user doesnt have /home folder. i created this and make .ssh/config file ant paste configuration to this but looks like this doesnt work
    tried also /etc/ssh/ssh/config still not work.
    if i create user with config like above in .ssh/config i can successfully connect via ssh. so where i should put this config to make it work with ssh agent zabbix?

    Comment

    Working...