# Not able to connect to the managed node

**URL:** <https://forum.ansible.com/t/not-able-to-connect-to-the-managed-node/35930>\
**Category:** Ansible Project\
**Tags:** rhel\
**Created:** [October 27, 2021, 9:31am UTC](https://forum.ansible.com/t/not-able-to-connect-to-the-managed-node/35930 "2021-10-27T09:31:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Komal\_Suthar](https://avatars.discourse-cdn.com/v4/letter/k/919ad9/32.png) [@Komal\_Suthar](https://forum.ansible.com/u/Komal_Suthar)\
**Post date:** [October 27, 2021, 9:31am UTC](https://forum.ansible.com/t/not-able-to-connect-to-the-managed-node/35930/1 "2021-10-27T09:31:18Z")

</div>

ansible all -m ping  
SSH password:  
192.168.99.115 | FAILED! =\> {  
“msg”: “to use the ‘ssh’ connection type with passwords, you must install the sshpass program”

}

This is the error msg I’m getting while connecting to the rhel v6.10 managed node. Even there all the openssh packages are installed.

I tried to install sshpass but there is no package available.

Any Help…!!

---

<div class="post-metadata">

**Author:** ![Markus1](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@Markus1](https://forum.ansible.com/u/Markus1)\
**Post date:** [October 27, 2021, 9:59am UTC](https://forum.ansible.com/t/not-able-to-connect-to-the-managed-node/35930/2 "2021-10-27T09:59:17Z")

</div>

Hi Komalsuth,

you need to install sshpass localy on your ansible “master” node - not on the target node.

Hope it helps.

Markus

---

<div class="post-metadata">

**Author:** ![Komal\_Suthar](https://avatars.discourse-cdn.com/v4/letter/k/919ad9/32.png) [@Komal\_Suthar](https://forum.ansible.com/u/Komal_Suthar)\
**Post date:** [October 27, 2021, 10:08am UTC](https://forum.ansible.com/t/not-able-to-connect-to-the-managed-node/35930/3 "2021-10-27T10:08:33Z")

</div>

Hello,

Cool, but using yum I’m not able to install sshpass package…!

---

<div class="post-metadata">

**Author:** ![Komal\_Suthar](https://avatars.discourse-cdn.com/v4/letter/k/919ad9/32.png) [@Komal\_Suthar](https://forum.ansible.com/u/Komal_Suthar)\
**Post date:** [October 27, 2021, 10:22am UTC](https://forum.ansible.com/t/not-able-to-connect-to-the-managed-node/35930/4 "2021-10-27T10:22:37Z")

</div>

Got it thanks.
