I am trying to connect switches in my network using ansible play book, but
not able to connect it to my network switches
When I am running a command:
hiteshkumar@INPNBXXX:/mnt/c/Users/hitesh.kumar$ sudo ansible-playbook
getarp.yml -u admin.kumar -k
SSH password:
PLAY [Get ARP information]
*********************************************************************************************************************************************
TASK [show arp]
********************************************************************************************************************************************************fatal:
[10.128.11.2]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect
to the host via ssh: ssh: connect to host 10.128.11.2 port 22: Connection
refused", "unreachable": true}
fatal: [10.192.21.5]: UNREACHABLE! => {"changed": false, "msg": "Failed to
connect to the host via ssh: ssh: connect to host 10.192.21.5 port 22:
Connection refused", "unreachable": true}
Direct SSH from bash prompt
root@INPNB0XXXX:# ssh 10.128.7.2
Unable to negotiate with 10.128.7.2 port 22: no matching cipher found.
Their offer: aes128-cbc,3des-cbc,aes192-cbc,aes256-cbc
root@INPNB05272:#
Logs at switch side
300395: Mar 20 09:25:44.175 UTC: %SSH-3-NO_MATCH: No matching cipher found:
client [email protected],aes128-ctr,aes192-ctr,aes256-ctr,
[email protected],[email protected] server
aes128-cbc,3des-cbc,aes192-cbc,aes256-cbc
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/c7dffeda-7e72-42e6-a953-cf15d52770a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.