You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
Hi All
I am facing ssh connection issues with my network switch, need help to establish ssh connection
root@VPC0000260:/etc/ansible# ssh 10.25.200.1 Unable to negotiate with 10.25.200.1 port 22: no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1 root@VPC0000260:/etc/ansible# ansible -m ping 10.25.200.1 10.25.200.1 | UNREACHABLE! => { "changed": false, "msg": "Failed to connect to the host via ssh: Unable to negotiate with 10.25.200.1 port 22: no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1", "unreachable": true }
Regards
Hitesh
Dick Visser
unread,
May 7, 2020, 11:58:43 AM5/7/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ansible...@googlegroups.com
Ansible is an automation tool that uses SSH as its transport.
Before automating things, make sure you can manually connect to the
device using SSH:
Fixing SSH problems is not in scope for this list, but in this case
the error is very clear and obvious: no matching key exchange method
found.
Google that and the first hit will explain what your problem is (and
how to fix it).
Also, you are running ansible as user 'root' - this is dangerous and
unnecessary.