hello!
I have gotten this error when I try to do Adhoc on my ILO:
192.168.60.30 | UNREACHABLE! => {
"changed": false,
"msg": "Failed to connect to the host via ssh: Unable to negotiate with 192.168.60.30 port 22: no matching key exchange method found. Their offer: diffie-hellman-group14-sha1,diffie-hellman-group1-sha1",
"unreachable": true
}
ansible 2.9.6
config file = /etc/ansible/ansible.cfg
configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python3/dist-packages/ansible
executable location = /usr/bin/ansible
python version = 3.8.10 (default, Jun 2 2021, 10:49:15) [GCC 9.4.0]
Using /etc/ansible/ansible.cfg as config file
host_list declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
script declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
auto declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
Parsed /etc/ansible/hosts inventory source with ini plugin
META: ran handlers
<192.168.60.30> ESTABLISH SSH CONNECTION FOR USER: administrator
<192.168.60.30> SSH: EXEC sshpass -d11 ssh -o KexAlgorithms=+ecdh-sha2-nistp256 -o StrictHostKeyChecking=no -o 'User="administrator"' -o ConnectTimeout=30 -o HostKeyAlgorithms=ssh-rsa,ssh-dss -o KexAlgorithms=diffie-hellman-group1-sha1,diffie-hellman-group14-sha1 -o Ciphers=aes128-cbc,3des-cbc -o MACs=hmac-md5,hmac-sha1 192.168.60.30 '/bin/sh -c '"'"'echo ~administrator && sleep 0'"'"''
<192.168.60.30> (255, b'', b'Unable to negotiate with 192.168.60.30 port 22: no matching key exchange method found. Their offer: diffie-hellman-group14-sha1,diffie-hellman-group1-sha1\r\n')
192.168.60.30 | UNREACHABLE! => {
"changed": false,
"msg": "Failed to connect to the host via ssh: Unable to negotiate with 192.168.60.30 port 22: no matching key exchange method found. Their offer: diffie-hellman-group14-sha1,diffie-hellman-group1-sha1",
"unreachable": true
}
hello! I have gotten this error when I try to do Adhoc on my ILO:
I have added these lines on ssh_config:
also, my -vvv adhoc is:
also I do ssh successful! is there any idea?!